Class VariableStepConfigValue
- java.lang.Object
-
- org.intocps.maestro.interpreter.values.Value
-
- org.intocps.maestro.interpreter.values.variablestep.VariableStepConfigValue
-
public class VariableStepConfigValue extends Value
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVariableStepConfigValue.StepVal
-
Constructor Summary
Constructors Constructor Description VariableStepConfigValue(Map<ModelConnection.ModelInstance,org.intocps.maestro.fmi.FmiSimulationInstance> instances, Set<InitializationMsgJson.Constraint> constraints, StepsizeInterval stepsizeInterval, Double initSize, Double maxStepSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDataPoint(Double time, List<Value> portValues)voidaddDerivatives(List<List<RealValue>> derivatives, double time)DoublegetReducedStepSize()doublegetStepSize()booleanhasReducedStepSize()voidinitializePorts(List<String> portNames)booleanisStepValid(Double nextTime, List<Value> portValues, boolean supportsRollBack)voidsetEndTime(Double endTime)-
Methods inherited from class org.intocps.maestro.interpreter.values.Value
checkArgLength, compareTo, deref
-
-
-
-
Constructor Detail
-
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 Detail
-
getStepSize
public double getStepSize()
-
isStepValid
public boolean isStepValid(Double nextTime, List<Value> portValues, boolean supportsRollBack)
-
hasReducedStepSize
public boolean hasReducedStepSize()
-
getReducedStepSize
public Double getReducedStepSize()
-
setEndTime
public void setEndTime(Double endTime)
-
-