Exemplo n.º 1
0
        protected override void ComputeValue(ref EnergyEquationOutput output)
        {
            output ??= new();

            output.ResultKCalDay = (
                8 * Input.WeightKg +
                14 * Input.HeightCm +
                32 * Input.VentilationLMin +
                94 * Input.TemperatureMaxC -
                4834
                );
        }
        protected override void ComputeValue(ref EnergyEquationOutput output)
        {
            output ??= new();

            if (HarrisBenedict.Update())
            {
                output.ResultKCalDay =
                    1.1 * HarrisBenedict.Result.ResultKCalDay
                    + 140 * Input.TemperatureMaxC
                    + 32 * Input.VentilationLMin
                    - 5340;
            }
            // todo add errors
        }
Exemplo n.º 3
0
        protected override void ComputeValue(ref EnergyEquationOutput output)
        {
            output ??= new();

            var msj = new EnergyEquationMifflinStJeor(PatientInfo);

            if (msj.Update())
            {
                output.ResultKCalDay =
                    0.96 * msj.Result.ResultKCalDay
                    + 167 * Input.TemperatureMaxC
                    + 31 * Input.VentilationLMin
                    - 6212;
            }
            // todo, add errors
        }
Exemplo n.º 4
0
        protected override void ComputeValue(ref EnergyEquationOutput output)
        {
            output ??= new();

            if (MifflinStJeor.Update())
            {
                var msjResult = MifflinStJeor.Result.ResultKCalDay;

                output.ResultKCalDay =
                    0.71 * msjResult
                    + 85 * Input.TemperatureMaxC
                    + 64 * Input.VentilationLMin
                    - 3085;
            }
            // todo add errors
        }