Quentin Lambert
Quentin Lambert
`Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer` defines one of its inputs as `discrete input Real nextTimeEvent;` but I am not aware of an semantics associated with variability prefix. Is there? If not should the prefixes...
In `Modelica.Electrical.Batteries.Utilities.BusTranscription` the connect equation ``` connect(gainLosses.u, stackBus.cellBus.lossPower); ``` fails to respect > "One connector in the connect equation must reference a declared component, and if the other connector is...
I am surprised that `m` is a constant here, since its value clearly depends on the size of the input which is not constant for functions. ``` function ToSpacePhasor "Conversion...
Is the following model valid? ``` model DimensionTest constant Real ref[2] = {1.9, 3.0}; model A Real x[2](start = ref[1:2]); equation der(x) = -x; end A; A a[3](each x(start =...
**Describe the bug** `Buildings.HeatTransfer.Windows.Functions.glassTRInteriorIrradiationNoShading` and `Buildings.HeatTransfer.Windows.Functions.glassTRExteriorIrradiationNoShading` do not fully initialize their output variable `traRef`. This is invalid Modelica according to the last paragraph of https://specification.modelica.org/maint/3.5/functions.html#initialization-and-binding-equations-of-components-in-functions. **To Reproduce** Look at the...
In the last bullet point of Section 5.3.2: > If the class does not satisfy the requirements for a package, the lookup is restricted to encapsulated elements only. What is...
The specs say: > The size of an array - the iteration range - is evaluated on entry to the for-loop and the array size shall not change during the...
When trying to enforce the fact that: > The dimension sizes not declared with colon (:) of each array result or array local variable (i.e., > a non-input component) of...
Consider: ``` model PartialCall type E = enumeration(one, two); function f input Real u; input Real i; input E e = E.one; output Real y; algorithm y := u +...