UNPKG

ccs-sim

Version:
23 lines (22 loc) 685 B
import IElement, { IPhysicalElement, PressureSolution } from './element'; import Fluid from './fluid'; import { Pressure } from 'physical-quantities'; export declare enum RealReservoir { Hamilton = 0, HamiltonNorth = 1, Lennox = 2 } export default class Reservoir implements IElement { type: string; name: string; physical: IPhysicalElement; pressure: Pressure; fluid?: Fluid; source?: IElement; constructor(name: string, physical: IPhysicalElement, pressure: Pressure); process(fluid: Fluid): Promise<{ pressureSolution: PressureSolution; pressure: Pressure; target: null | Pressure; }>; }