Closed mwetter closed 4 years ago
@mwetter I corrected some typos in my commits. I add here some additional comments.
uLow = pRel-25
.k
, uLow
and uHigh
in the example is not essential for the sequence to work correctly. If that is correct (and useful) maybe we could integrate such a description of context in that §.hys.uLow
has the unit not set because the assignment involves an expression." Maybe mention the motivation behind this rule i.e. unit conversion.s.y = k
in the example) and the value is then passed to another block by means of a connect statement involving an input connector variable declared in the other block (connect(s.y, someBlock.u)
). In that other block no parameter can be assigned the value of the input variable (someBlock.u
) as the variability differs. That means that parameter values can only be propagated with variables that can be connected together (the example from the previous § where one would make final k
, uLow
and uHigh
is not supported). This is consistent with graphical control programming environments as described by Dave Robin where:CDL.Logical.Sources.SampleTrigger
: this is only valid for that specific example where one would want to use the same sampling period between different blocks. For propagating generic parameter values (e.g. nominal values) among several blocks there is no available option.startValue
rather be defaultValue
?This will likely be replaced by https://github.com/lbl-srg/obc/pull/70
This closes #65