Commit 35a63dba authored by Felix Wege's avatar Felix Wege

added cases for new behavior to trafo

parent bad8522f
......@@ -142,6 +142,14 @@ Transformer_agent::Transformer_agent(repast::AgentId &id,
behavior = new Ref_substation_behavior(id_.id(), TYPE_TRANSFORMER_INT, _subtype, t_step, _d_props, &substation_data);
break;
}
case CTRL_DPSIM_COSIM_SWARMGRIDX_NANO:{
behavior = new Swarm_substation_behavior(id_.id(), TYPE_TRANSFORMER_INT, _subtype, t_step, _d_props, &substation_data);
break;
}
case CTRL_DPSIM_COSIM_SWARMGRIDX_MQTT:{
behavior = new Swarm_substation_behavior(id_.id(), TYPE_TRANSFORMER_INT, _subtype, t_step, _d_props, &substation_data);
break;
}
default: {
behavior = new Ref_substation_behavior(id_.id(), TYPE_TRANSFORMER_INT, _subtype, t_step, _d_props, &substation_data);
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment