Interface ControlStructureInterface
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CascadeControllerStructure, FeedForwardControllerStructure, RatioControllerStructure
Generic interface for multi-loop control structures coordinating one or more regulators. Examples
include cascade, ratio and feed-forward control. The structure produces a single output signal
that can be connected to a manipulated variable in the process.
- Author:
- esol
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGet resulting output signal from the control structure.booleanisActive()Check whether the control structure is currently active.voidrunTransient(double dt) Execute one transient calculation step.voidsetActive(boolean isActive) Enable or disable the entire control structure.
-
Method Details
-
runTransient
void runTransient(double dt) Execute one transient calculation step.- Parameters:
dt- time step in seconds
-
getOutput
double getOutput()Get resulting output signal from the control structure.- Returns:
- control signal
-
setActive
void setActive(boolean isActive) Enable or disable the entire control structure.- Parameters:
isActive- settrueto enable
-
isActive
boolean isActive()Check whether the control structure is currently active.- Returns:
trueif active
-