UNPKG

ccs-sim

Version:
16 lines (15 loc) 613 B
import Fluid from './fluid'; import IElement, { IPhysicalElement, PressureSolution } from './element'; import Transport from './transport'; import { Pressure } from 'physical-quantities'; export default class PressureGate extends Transport { inputPressure: Pressure; constructor(name: string, physical: IPhysicalElement, inputPressure: Pressure); setDestination(dest: IElement): void; searchPressure(): Promise<PressureSolution>; process(fluid: Fluid): Promise<{ pressureSolution: PressureSolution; pressure: Pressure; target: null | Pressure; }>; }