Skip to content

Make CentrifugalPump compatible with OpenModelica#281

Open
AxelMatstoms wants to merge 1 commit intoDLR-SR:mainfrom
AxelMatstoms:centrifugal-pump-openmodelica
Open

Make CentrifugalPump compatible with OpenModelica#281
AxelMatstoms wants to merge 1 commit intoDLR-SR:mainfrom
AxelMatstoms:centrifugal-pump-openmodelica

Conversation

@AxelMatstoms
Copy link
Collaborator

@AxelMatstoms AxelMatstoms commented Feb 6, 2026

  • Add "each" to displayUnit modifier in GenericPump.mo
  • Change res_detadV to inherit Modelica.Math.Nonlinear.Interfaces.partialScalarFunction.

With these changes, both CentrifugalPump tests compile and simulate in OMEdit.
Resolves #241

Marked as draft, as #244 should be merged first.

* Add "each" to displayUnit modifier in GenericPump.mo
* Change res_detadV to inherit
  Modelica.Math.Nonlinear.Interfaces.partialScalarFunction.
  Effectively changing argument order to be Vn, ch, cp instead of
  ch, cp, Vn.
@AxelMatstoms AxelMatstoms marked this pull request as draft February 6, 2026 09:22
@AxelMatstoms AxelMatstoms marked this pull request as ready for review February 9, 2026 09:38
@AxelMatstoms
Copy link
Collaborator Author

@RaphaelGebhart Since #244 is merged, this PR is now able to be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CentrifugalPump OpenModelica

1 participant