Skip to content

Commit

Permalink
revert breaking changes, continue work in feature branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Steinar Elgsæter authored and Steinar Elgsæter committed Oct 4, 2024
1 parent 45e86c1 commit 3602a65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Dynamic/SimulatableModels/GainSchedModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -330,10 +330,10 @@ public double CalculateLinearProcessGainTerm(int inputIndex, double u, double u_
curve += modelParameters.LinearGains.ElementAt(activeGainSchedModelIdx)[inputIndex] * u;
return curve;
}
*/



/*

/// <summary>
/// Determine the process-gain(linear) contribution to the output of a particular index for a particular value
/// </summary>
Expand Down Expand Up @@ -367,7 +367,7 @@ private double CalculateLinearProcessGainTerm(int inputIndex, double u, double u
processGainTerm = modelParameters.LinearGains.ElementAt(gainSchedModelIdx)[inputIndex] * u;
}
return processGainTerm;
}*/
}

/// <summary>
/// Determine the time constant for a particular sceduling input
Expand Down
2 changes: 1 addition & 1 deletion TimeSeriesAnalysis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<RunAnalyzersDuringLiveAnalysis>False</RunAnalyzersDuringLiveAnalysis>
<RepositoryUrl>https://github.com/equinor/TimeSeriesAnalysis.git</RepositoryUrl>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<Version>1.3.16</Version>
<Version>1.3.17</Version>
<Company>Equinor</Company>
<Authors>Equinor</Authors>
<IncludeSymbols>true</IncludeSymbols>
Expand Down

0 comments on commit 3602a65

Please sign in to comment.