//implement interface IGasSolidSeparator public double CalculateParticleLoading(ProcessStreamBase psb) { DryingGasStream stream = psb as DryingGasStream; /*DryingGasStreamComponents dgsc = stream.DryingGasStreamComponents; * SolidPhase sp = dgsc.SolidPhase; * double massFlow = stream.MassFlowRate.Value; * double volumeFlow = psb.VolumeFlowRate.Value; * double loading = Constants.NO_VALUE; * if (massFlow != Constants.NO_VALUE && volumeFlow != Constants.NO_VALUE) { * double massFlowOfParticle = sp.MassFraction * massFlow; * loading = massFlowOfParticle/volumeFlow; * } * return loading;*/ return(balanceModel.CalculateParticleLoading(psb)); }
//implement interface IGasSolidSeparator public double CalculateParticleLoading(ProcessStreamBase psb) { DryingGasStream stream = psb as DryingGasStream; return(balanceModel.CalculateParticleLoading(stream)); }