Package control.commodity
Class ControllerFlowToLinks
- java.lang.Object
-
- control.AbstractController
-
- control.commodity.ControllerFlowToLinks
-
- All Implemented Interfaces:
InterfaceEventWriter
,InterfaceScenarioElement
,Pokable
public class ControllerFlowToLinks extends AbstractController
This controller is used to specify the flow that goes to a branch in a splitting node as absolute values instead of split ratios. Example:100,200 100,300
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class control.AbstractController
AbstractController.Algorithm
-
-
Field Summary
Fields Modifier and Type Field Description Map<Long,Profile1D>
outlink2profile
-
Fields inherited from class control.AbstractController
actuator_by_usage, actuators, command, dt, end_time, event_output, id, scenario, sensor_by_usage, sensors, start_time, type
-
-
Constructor Summary
Constructors Constructor Description ControllerFlowToLinks(Scenario scenario, Controller jcon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
get_actuator_class()
void
update_command(Dispatcher dispatcher)
void
validate_pre_init(OTMErrorLog errorLog)
-
Methods inherited from class control.AbstractController
get_command_for_actuator_id, get_command_for_actuator_usage, getId, getSEType, initialize, is_inbuilt, poke, set_event_output, to_jaxb, validate_post_init
-
-
-
-
Constructor Detail
-
ControllerFlowToLinks
public ControllerFlowToLinks(Scenario scenario, Controller jcon) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
get_actuator_class
public Class get_actuator_class()
- Specified by:
get_actuator_class
in classAbstractController
-
validate_pre_init
public void validate_pre_init(OTMErrorLog errorLog)
- Overrides:
validate_pre_init
in classAbstractController
-
update_command
public void update_command(Dispatcher dispatcher) throws OTMException
- Specified by:
update_command
in classAbstractController
- Throws:
OTMException
-
-