ccs-sim
Version:
Modelling CCS systems
20 lines (19 loc) • 712 B
TypeScript
import { Pressure } from 'physical-quantities';
import Fluid from './fluid';
import IElement, { IPhysicalElement, PressureSolution } from './element';
import Transport from './transport';
export default class Compressor extends Transport {
outputPressure: Pressure;
isentropicEfficiency: number;
idealWork: number;
actualWork: number;
outletEnthalpy: number;
constructor(name: string, physical: IPhysicalElement, outputPressure: Pressure);
setDestination(dest: IElement): void;
getNewFluid(): Promise<Fluid>;
process(fluid: Fluid): Promise<{
pressureSolution: PressureSolution;
pressure: Pressure;
target: null | Pressure;
}>;
}