Skip to content

Fluid Property Reference Adjustment

fullflow.ReferenceAdjustment

Reference-basis adjustment for an energy-like state.

ReferenceAdjustment shifts an input value from one reference basis to another by subtracting the old reference value and adding the new reference value. This is useful for enthalpy, internal energy, entropy, or other reference-dependent quantities when different property backends use different reference states.

The old and new reference values should correspond to the same reference condition.

Parameters

Name Type Description
namestr

Component name

networkNetwork

Network that owns this component

input_valueState or float

Value on the original reference basis

old_reference_valueState or float

Reference value on the original basis

new_reference_valueState or float

Reference value on the target basis

Outputs

Name Type Description
output_valueState, optional

Value shifted to the target reference basis