Class ControllerEvent
java.lang.Object
neqsim.process.controllerdevice.ControllerEvent
- All Implemented Interfaces:
Serializable
Event log entry capturing controller state at a particular simulation time. Each entry stores the
measurement, set-point, error and controller response enabling post-run performance analysis.
- Author:
- esol
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final doubleprivate final doubleprivate static final longprivate final doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionControllerEvent(double time, double measuredValue, double setPoint, double error, double response) Create a new event log entry. -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
time
private final double time -
measuredValue
private final double measuredValue -
setPoint
private final double setPoint -
error
private final double error -
response
private final double response
-
-
Constructor Details
-
ControllerEvent
public ControllerEvent(double time, double measuredValue, double setPoint, double error, double response) Create a new event log entry.- Parameters:
time- simulation time of the eventmeasuredValue- current transmitter measurementsetPoint- active controller set-pointerror- controller error at this timeresponse- controller output signal
-
-
Method Details
-
getTime
public double getTime()Getter for the field
time.- Returns:
- simulation time of the event
-
getMeasuredValue
public double getMeasuredValue()Getter for the field
measuredValue.- Returns:
- measured process value
-
getSetPoint
public double getSetPoint()Getter for the field
setPoint.- Returns:
- controller set-point
-
getError
public double getError()Getter for the field
error.- Returns:
- control error
-
getResponse
public double getResponse()Getter for the field
response.- Returns:
- controller output
-