You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<%if not boolAnd(stringEq(realOutputVariablesNames, ""), stringEq(realOutputVariablesVRs, "")) then "{"+realOutputVariablesNames+"} = fmi2Functions.fmi2GetReal(fmi2me, {"+realOutputVariablesVRs+"}, flowStatesInputs);"%>
2214
2214
<%if not boolAnd(stringEq(integerOutputVariablesNames, ""), stringEq(integerOutputVariablesVRs, "")) then "{"+integerOutputVariablesNames+"} = fmi2Functions.fmi2GetInteger(fmi2me, {"+integerOutputVariablesVRs+"}, flowStatesInputs);"%>
@@ -2218,14 +2218,15 @@ case FMIIMPORT(fmiInfo=INFO(__),fmiExperimentAnnotation=EXPERIMENTANNOTATION(__)
2218
2218
algorithm
2219
2219
<%if intGt(listLength(fmiInfo.fmiNumberOfEventIndicators), 0) then
2220
2220
<<
2221
-
when {(<%fmiInfo.fmiNumberOfEventIndicators |> eventIndicator =>"change(fmi_z_positive["+eventIndicator+"])" ;separator=" or "%>) andnot initial(),triggerDSSEvent > flowStatesInputs, nextEventTime < time} then
2221
+
when {(<%fmiInfo.fmiNumberOfEventIndicators |> eventIndicator =>"change(fmi_z_positive["+eventIndicator+"])" ;separator=" or "%>) andnot initial(),triggerDSSEvent > flowStatesInputs, pre(nextEventTime)< time} then
2222
2222
>>
2223
2223
else
2224
2224
<<
2225
-
when {not initial(), triggerDSSEvent > flowStatesInputs, nextEventTime < time} then
2225
+
when {not initial(), triggerDSSEvent > flowStatesInputs, pre(nextEventTime)< time} then
0 commit comments