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 |
|---|---|---|
name | str | Component name |
network | Network | Network that owns this component |
input_ | State or float | Value on the original reference basis |
old_ | State or float | Reference value on the original basis |
new_ | State or float | Reference value on the target basis |
Outputs
| Name | Type | Description |
|---|---|---|
output_ | State, optional | Value shifted to the target reference basis |