public ElectrostaticPrecipitator(string name, UnitOpSystem uoSys) : base(name, uoSys) { balanceModel = new GasSolidSeparatorBalanceModel(this); driftVelocity = new ProcessVarDouble(StringConstants.DRIFT_VELOCITY, PhysicalQuantity.Velocity, VarState.Specified, this); totalSurfaceArea = new ProcessVarDouble(StringConstants.TOTAL_SURFACE_AREA, PhysicalQuantity.Area, VarState.AlwaysCalculated, this); InitializeVarListAndRegisterVars(); }
public Cyclone(string name, UnitOpSystem uoSys) : base(name, uoSys) { /*pressureDrop = new ProcessVarDouble(StringConstants.PRESSURE_DROP, PhysicalQuantity.Pressure, VarState.Specified, this); * collectionEfficiency = new ProcessVarDouble(StringConstants.COLLECTION_EFFICIENCY, PhysicalQuantity.Fraction, VarState.Specified, this); * inletParticleLoading = new ProcessVarDouble(StringConstants.INLET_PARTICLE_LOADING, PhysicalQuantity.MassVolumeConcentration, VarState.Specified, this); * outletParticleLoading = new ProcessVarDouble(StringConstants.OUTLET_PARTICLE_LOADING, PhysicalQuantity.MassVolumeConcentration, VarState.Specified, this); * massFlowRateOfParticleLostToGasOutlet = new ProcessVarDouble(StringConstants.PARTICLE_LOSS_TO_GAS_OUTLET, PhysicalQuantity.MassFlowRate, VarState.Specified, this); * InitializeVarListAndRegisterVars();*/ balanceModel = new GasSolidSeparatorBalanceModel(this); }
//public ProcessVarDouble LiquidRecirculationMassFlowRate //{ // get { return liquidRecirculationMassFlowRate;} //} //public ProcessVarDouble LiquidRecirculationVolumeFlowRate //{ // get { return liquidRecirculationVolumeFlowRate;} //} #endregion public WetScrubber(string name, UnitOperationSystem uoSys) : base(name, uoSys) { //scrubberType = ScrubberType.Condensing; balanceModel = new GasSolidSeparatorBalanceModel(this); liquidToGasVolumeRatio = new ProcessVarDouble(StringConstants.LIQUID_GAS_RATIO, PhysicalQuantity.Unknown, VarState.Specified, this); //liquidRecirculationMassFlowRate = new ProcessVarDouble(StringConstants.LIQUID_RECIRCULATION_MASS_FLOW_RATE, PhysicalQuantity.MassFlowRate, VarState.Specified, this); //liquidRecirculationVolumeFlowRate = new ProcessVarDouble(StringConstants.LIQUID_RECIRCULATION_VOLUME_FLOW_RATE, PhysicalQuantity.VolumeFlowRate, VarState.Specified, this); InitializeVarListAndRegisterVars(); }
protected FabricFilter(string name, UnitOpSystem uoSys) : base(name, uoSys) { /*pressureDrop = new ProcessVarDouble(StringConstants.PRESSURE_DROP, PhysicalQuantity.Pressure, VarState.Specified, this); * collectionEfficiency = new ProcessVarDouble(StringConstants.COLLECTION_EFFICIENCY, PhysicalQuantity.Fraction, VarState.Specified, this); * inletDustLoading = new ProcessVarDouble(StringConstants.INLET_DUST_LOADING, PhysicalQuantity.MassVolumeConcentration, VarState.Specified, this); * outletDustLoading = new ProcessVarDouble(StringConstants.OUTLET_DUST_LOADING, PhysicalQuantity.MassVolumeConcentration, VarState.Specified, this); * dustAccumulationRate = new ProcessVarDouble(StringConstants.DUST_ACCUMULATION_RATE, PhysicalQuantity.MassFlowRate, VarState.AlwaysCalculated, this);*/ balanceModel = new GasSolidSeparatorBalanceModel(this); gasToClothRatio = new ProcessVarDouble(StringConstants.FILTRATION_VELOCITY, PhysicalQuantity.Velocity, VarState.Specified, this); totalFilteringArea = new ProcessVarDouble(StringConstants.TOTAL_FILTERING_AREA, PhysicalQuantity.Area, VarState.AlwaysCalculated, this); }
public override void SetObjectData() { base.SetObjectData(); int classVersion = (int)info.GetValue("ClassPersistenceVersion", typeof(int)); if (classVersion == 1) { this.balanceModel = RecallStorableObject("BalanceModel", typeof(GasSolidSeparatorBalanceModel)) as GasSolidSeparatorBalanceModel; this.driftVelocity = (ProcessVarDouble)RecallStorableObject("DriftVelocity", typeof(ProcessVarDouble)); this.totalSurfaceArea = (ProcessVarDouble)RecallStorableObject("TotalSurfaceArea", typeof(ProcessVarDouble)); } }
public override void SetObjectData() { base.SetObjectData(); int classVersion = (int)info.GetValue("ClassPersistenceVersion", typeof(int)); if (classVersion == 1) { /*this.pressureDrop = (ProcessVarDouble)RecallStorableObject("PressureDrop", typeof(ProcessVarDouble)); * this.collectionEfficiency = (ProcessVarDouble)RecallStorableObject("CollectionEfficiency", typeof(ProcessVarDouble)); * this.inletDustLoading = (ProcessVarDouble)RecallStorableObject("InletDustLoading", typeof(ProcessVarDouble)); * this.outletDustLoading = (ProcessVarDouble)RecallStorableObject("OutletDustLoading", typeof(ProcessVarDouble)); * this.dustAccumulationRate = (ProcessVarDouble)RecallStorableObject("DustAccumulationRate", typeof(ProcessVarDouble));*/ this.balanceModel = RecallStorableObject("BalanceModel", typeof(GasSolidSeparatorBalanceModel)) as GasSolidSeparatorBalanceModel; this.gasToClothRatio = (ProcessVarDouble)RecallStorableObject("GasToClothRatio", typeof(ProcessVarDouble)); this.totalFilteringArea = (ProcessVarDouble)RecallStorableObject("TotalFilteringArea", typeof(ProcessVarDouble)); } }
public override void SetObjectData() { base.SetObjectData(); int persistedClassVersion = (int)info.GetValue("ClassPersistenceVersionScrubberCondenser", typeof(int)); if (persistedClassVersion == 1) { this.gasInlet = info.GetValue("GasInlet", typeof(DryingGasStream)) as ProcessStreamBase; this.gasOutlet = info.GetValue("GasOutlet", typeof(DryingGasStream)) as ProcessStreamBase; this.liquidOutlet = info.GetValue("LiquidOutlet", typeof(ProcessStreamBase)) as ProcessStreamBase; this.balanceModel = RecallStorableObject("BalanceModel", typeof(GasSolidSeparatorBalanceModel)) as GasSolidSeparatorBalanceModel; this.coolingDuty = RecallStorableObject("CoolingDuty", typeof(ProcessVarDouble)) as ProcessVarDouble; this.liquidToGasVolumeRatio = (ProcessVarDouble)RecallStorableObject("LiquidToGasVolumeRatio", typeof(ProcessVarDouble)); this.liquidRecirculationVolumeFlowRate = RecallStorableObject("LiquidRecirculationVolumeFlowRate", typeof(ProcessVarDouble)) as ProcessVarDouble; this.liquidRecirculationMassFlowRate = RecallStorableObject("LiquidRecirculationMassFlowRate", typeof(ProcessVarDouble)) as ProcessVarDouble; } }
public override void SetObjectData() { base.SetObjectData(); int persistedClassVersion = (int)info.GetValue("ClassPersistenceVersionCyclone", typeof(int)); if (persistedClassVersion == 1) { this.gasInlet = info.GetValue("GasInlet", typeof(ProcessStreamBase)) as ProcessStreamBase; this.gasOutlet = info.GetValue("GasOutlet", typeof(ProcessStreamBase)) as ProcessStreamBase; this.particleOutlet = info.GetValue("ParticleOutlet", typeof(ProcessStreamBase)) as ProcessStreamBase; /*this.pressureDrop = RecallStorableObject("PressureDrop", typeof(ProcessVarDouble)) as ProcessVarDouble; * this.collectionEfficiency = RecallStorableObject("CollectionEfficiency", typeof(ProcessVarDouble)) as ProcessVarDouble; * this.massFlowRateOfParticleLostToGasOutlet = RecallStorableObject("MassFlowRateOfParticleLostToGasOutlet", typeof(ProcessVarDouble)) as ProcessVarDouble; * this.inletParticleLoading = RecallStorableObject("InletParticleLoading", typeof(ProcessVarDouble)) as ProcessVarDouble; * this.outletParticleLoading = RecallStorableObject("OutletParticleLoading", typeof(ProcessVarDouble)) as ProcessVarDouble;*/ this.balanceModel = RecallStorableObject("BalanceModel", typeof(GasSolidSeparatorBalanceModel)) as GasSolidSeparatorBalanceModel; this.currentRatingModel = RecallStorableObject("CurrentRatingModel", typeof(CycloneRatingModel)) as CycloneRatingModel; } }