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 216216    end 
217217end 
218218
219- @mtkmodel  System  begin 
219+ @mtkmodel  HydraulicSystem  begin 
220220    @components  begin 
221221        res₁ =  Orifice (p′ =  300e5 )
222222        res₂ =  Orifice (p′ =  0 )
234234    end 
235235end 
236236
237- @mtkbuild  sys =  System ()
237+ @mtkbuild  sys =  HydraulicSystem ()
238238initprob =  ModelingToolkit. InitializationProblem (sys, 0.0 )
239239conditions =  getfield .(equations (initprob. f. sys), :rhs )
240240
Original file line number Diff line number Diff line change 285285        end 
286286    end 
287287
288-     @mtkmodel  System  begin 
288+     @mtkmodel  ApexSystem  begin 
289289        @components  begin 
290290            subsys =  SubSystem ()
291291        end 
300300        end 
301301    end 
302302
303-     @named  sys =  System ()
303+     @named  sys =  ApexSystem ()
304304    sysref =  complete (sys)
305305    sys2 =  complete (sys; split =  true , flatten =  false )
306306    ps =  Set (full_parameters (sys2))
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments