@@ -93,7 +93,7 @@ with the name `namespace__variable`.
93
93
- `name`: The name of the system.
94
94
"""
95
95
function MTK. FMIComponent (:: Val{Ver} ; fmu = nothing , tolerance = 1e-6 ,
96
- communication_step_size = nothing , reinitializealg = SciMLBase . NoInit (), type, name) where {Ver}
96
+ communication_step_size = nothing , type, name) where {Ver}
97
97
if Ver != 2 && Ver != 3
98
98
throw (ArgumentError (" FMI Version must be `2` or `3`" ))
99
99
end
@@ -238,7 +238,7 @@ function MTK.FMIComponent(::Val{Ver}; fmu = nothing, tolerance = 1e-6,
238
238
finalize_affect = MTK. FunctionalAffect (fmiFinalize!, [], [wrapper], [])
239
239
step_affect = MTK. FunctionalAffect (Returns (nothing ), [], [], [])
240
240
instance_management_callback = MTK. SymbolicDiscreteCallback (
241
- (t != t - 1 ), step_affect; finalize = finalize_affect, reinitializealg = reinitializealg )
241
+ (t != t - 1 ), step_affect; finalize = finalize_affect)
242
242
243
243
push! (params, wrapper)
244
244
append! (observed, der_observed)
@@ -279,8 +279,7 @@ function MTK.FMIComponent(::Val{Ver}; fmu = nothing, tolerance = 1e-6,
279
279
fmiCSStep!; observed = cb_observed, modified = cb_modified, ctx = _functor)
280
280
instance_management_callback = MTK. SymbolicDiscreteCallback (
281
281
communication_step_size, step_affect; initialize = initialize_affect,
282
- finalize = finalize_affect, reinitializealg = reinitializealg
283
- )
282
+ finalize = finalize_affect)
284
283
285
284
# guarded in case there are no outputs/states and the variable is `[]`.
286
285
symbolic_type (__mtk_internal_o) == NotSymbolic () || push! (params, __mtk_internal_o)
0 commit comments