Class VariableStepConfigValue
java.lang.Object
org.intocps.maestro.interpreter.values.Value
org.intocps.maestro.interpreter.values.variablestep.VariableStepConfigValue
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionVariableStepConfigValue(Map<ModelConnection.ModelInstance, org.intocps.maestro.fmi.FmiSimulationInstance> instances, Set<InitializationMsgJson.Constraint> constraints, StepsizeInterval stepsizeInterval, Double initSize, Double maxStepSize) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDataPoint(Double time, List<Value> portValues) voidaddDerivatives(List<List<NumericValue>> derivatives, double time) doublebooleanvoidinitializePorts(List<String> portNames) booleanisStepValid(Double nextTime, List<Value> portValues, boolean supportsRollBack) voidsetEndTime(Double endTime) Methods inherited from class org.intocps.maestro.interpreter.values.Value
as, checkArgLength, compareTo, deref, isNumeric, isNumericDecimal, isUpdatable
-
Constructor Details
-
VariableStepConfigValue
public VariableStepConfigValue(Map<ModelConnection.ModelInstance, org.intocps.maestro.fmi.FmiSimulationInstance> instances, Set<InitializationMsgJson.Constraint> constraints, StepsizeInterval stepsizeInterval, Double initSize, Double maxStepSize) throws InterpreterException- Throws:
InterpreterException
-
-
Method Details
-
initializePorts
-
addDataPoint
-
addDerivatives
-
getStepSize
public double getStepSize() -
isStepValid
-
hasReducedStepSize
public boolean hasReducedStepSize() -
getReducedStepSize
-
setEndTime
-