From 3602a65c73fea84a79967d7c7d29803cc6bbe1ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steinar=20Elgs=C3=A6ter?= Date: Fri, 4 Oct 2024 16:18:41 +0200 Subject: [PATCH] revert breaking changes, continue work in feature branch --- Dynamic/SimulatableModels/GainSchedModel.cs | 8 ++++---- TimeSeriesAnalysis.csproj | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dynamic/SimulatableModels/GainSchedModel.cs b/Dynamic/SimulatableModels/GainSchedModel.cs index 376bc91..e7e25eb 100644 --- a/Dynamic/SimulatableModels/GainSchedModel.cs +++ b/Dynamic/SimulatableModels/GainSchedModel.cs @@ -300,7 +300,7 @@ public void SetModelParameters(GainSchedParameters parameters) //u0 += y_contributionFromInput / modelParameters.LinearGains[inputIdx]; return u0; } - + /* public double CalculateLinearProcessGainTerm(int inputIndex, double u, double u_GainSched) { @@ -330,10 +330,10 @@ public double CalculateLinearProcessGainTerm(int inputIndex, double u, double u_ curve += modelParameters.LinearGains.ElementAt(activeGainSchedModelIdx)[inputIndex] * u; return curve; } + */ - - /* + /// /// Determine the process-gain(linear) contribution to the output of a particular index for a particular value /// @@ -367,7 +367,7 @@ private double CalculateLinearProcessGainTerm(int inputIndex, double u, double u processGainTerm = modelParameters.LinearGains.ElementAt(gainSchedModelIdx)[inputIndex] * u; } return processGainTerm; - }*/ + } /// /// Determine the time constant for a particular sceduling input diff --git a/TimeSeriesAnalysis.csproj b/TimeSeriesAnalysis.csproj index 9e7c6ab..f7a9807 100644 --- a/TimeSeriesAnalysis.csproj +++ b/TimeSeriesAnalysis.csproj @@ -14,7 +14,7 @@ False https://github.com/equinor/TimeSeriesAnalysis.git readme.md - 1.3.16 + 1.3.17 Equinor Equinor true