modelPartialResistanceInterface

Minimal two-port resistance interface (Medium + ports) shared by the old and new resistance base classes

Information

Minimal constraining interface for a two-port fluid resistance, declaring only the Medium package and the two fluid connectors port_a/port_b.

It is intended to be used as the constrainedby type for a replaceable resistance so that either base class can be plugged in:

Both base classes already declare a compatible Medium, port_a and port_b, so they satisfy this interface by Modelica structural subtyping without any change to either base class. Components are not required to extend this interface explicitly – they only need to provide these named elements.

Connectors

TypeNameDefaultDescription
Interfaces.FluidPort_Flowport_a
Interfaces.FluidPort_Flowport_b

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatestate

Contents

NameDescription
Medium