Skip to content

Commit

Permalink
Use prefix style 'quantity' for FixedBoundary.X
Browse files Browse the repository at this point in the history
This follows the style in Modelica.Media.Interfaces.PartialMedium.MassFlowRate and gives tools a chance of making sense of the quantity.
  • Loading branch information
henrikt-ma committed Mar 29, 2023
1 parent 64b1f57 commit 5914d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Fluid/Sources.mo
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ package Sources "Define fixed or prescribed boundary conditions"
annotation (Dialog(group="Boundary temperature or boundary specific enthalpy",
enable = not use_T));
parameter Medium.MassFraction X[Medium.nX](
quantity=Medium.substanceNames) = Medium.X_default
quantity="MassFraction." + Medium.substanceNames) = Medium.X_default
"Boundary mass fractions m_i/m"
annotation (Dialog(group = "Only for multi-substance flow", enable=Medium.nXi > 0));
parameter Medium.ExtraProperty C[Medium.nC](
Expand Down

0 comments on commit 5914d55

Please sign in to comment.