33using . Instantiation
44using . ModelElaboration
55
6- using SIUnits
7- using SIUnits. ShortUnits
6+ using Unitful
87using . StructuralTransform
98using . Synchronous: sample, Clock, previous, hold, positive, positiveChange, positiveEdge
109
1110Var (; args... ) = Variable (; args... )
1211
13- Float (value= nothing ; info= " " , size= nothing , unit= SIPrefix , displayUnit= SIPrefix ,
12+ Float (value= nothing ; info= " " , size= nothing , unit= NoUnits , displayUnit= NoUnits ,
1413 min= nothing , max= nothing , start= nothing , fixed:: Bool = false , nominal= nothing ,
1514 variability= continuous,
1615 flow:: Bool = false , state:: Bool = true ) = Variable (variability, Float64, size, value,
1716 unit, displayUnit, min, max, start, fixed, nominal, info, flow, state, general)
1817
19- Boolean (value= nothing ; info= " " , size= nothing , unit= SIPrefix , displayUnit= SIPrefix ,
18+ Boolean (value= nothing ; info= " " , size= nothing , unit= NoUnits , displayUnit= NoUnits ,
2019 min= nothing , max= nothing , start= nothing , fixed:: Bool = false , nominal= nothing ,
2120 variability= continuous,
2221 flow:: Bool = false , state:: Bool = true ) = Variable (variability, Bool, size, value,
2322 unit, displayUnit, min, max, start, fixed, nominal, info, flow, state, general)
2423
25- Integ (value= nothing ; info= " " , size= nothing , unit= SIPrefix , displayUnit= SIPrefix ,
24+ Integ (value= nothing ; info= " " , size= nothing , unit= NoUnits , displayUnit= NoUnits ,
2625 min= nothing , max= nothing , start= nothing , fixed:: Bool = false , nominal= nothing ,
2726 variability= continuous,
2827 flow:: Bool = false , state:: Bool = true ) = Variable (variability, Int, size, value,
2928 unit, displayUnit, min, max, start, fixed, nominal, info, flow, state, general)
3029
31- Str (value= nothing ; info= " " , size= nothing , unit= SIPrefix , displayUnit= SIPrefix ,
30+ Str (value= nothing ; info= " " , size= nothing , unit= NoUnits , displayUnit= NoUnits ,
3231 min= nothing , max= nothing , start= nothing , fixed:: Bool = false , nominal= nothing ,
3332 variability= continuous,
3433 flow:: Bool = false , state:: Bool = true ) = Variable (variability, String, size, value,
@@ -56,4 +55,4 @@ Par(value; args...) = Variable(variability=parameter, value=value; args...)
5655
5756const undefined= nothing
5857
59- # end
58+ # end
0 commit comments