ValveCalculate Method
Performs the steady-state valve calculation. Determines the outlet pressure from the selected
CalcMode (DeltaP, OutletPressure, or Kv-based), then performs an isenthalpic
(PH) flash to find the outlet temperature and phase state.
Definition
Namespace: DWSIM.UnitOperations.UnitOperations
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
C#
public override void Calculate(
Object args = null
)VB
Public Overrides Sub Calculate (
Optional args As Object = Nothing
)Parameters
- args Object (Optional)
- Optional two-element array: args(0) is the inlet MaterialStream, args(1) is the outlet MaterialStream. When Nothing, connected streams are used.