File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 216
216
end
217
217
end
218
218
219
- @mtkmodel System begin
219
+ @mtkmodel HydraulicSystem begin
220
220
@components begin
221
221
res₁ = Orifice (p′ = 300e5 )
222
222
res₂ = Orifice (p′ = 0 )
234
234
end
235
235
end
236
236
237
- @mtkbuild sys = System ()
237
+ @mtkbuild sys = HydraulicSystem ()
238
238
initprob = ModelingToolkit. InitializationProblem (sys, 0.0 )
239
239
conditions = getfield .(equations (initprob. f. sys), :rhs )
240
240
Original file line number Diff line number Diff line change 285
285
end
286
286
end
287
287
288
- @mtkmodel System begin
288
+ @mtkmodel ApexSystem begin
289
289
@components begin
290
290
subsys = SubSystem ()
291
291
end
300
300
end
301
301
end
302
302
303
- @named sys = System ()
303
+ @named sys = ApexSystem ()
304
304
sysref = complete (sys)
305
305
sys2 = complete (sys; split = true , flatten = false )
306
306
ps = Set (full_parameters (sys2))
You can’t perform that action at this time.
0 commit comments