Skip to content

Commit

Permalink
modified where coefficient of thrust is initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
janinefreeman committed Apr 3, 2024
1 parent 93b5771 commit 762f489
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shared/lib_windwakemodel.h
Expand Up @@ -53,7 +53,7 @@ class windTurbine
powerCurveRPM;
// vector that stores the optional coefficient of thrust curve input
// set to a default value of length 1 to mean that it's not assigned, and check for that length before using it
std::vector<double> ctCurve = { 0. };
std::vector<double> ctCurve;
double cutInSpeed;
double previousAirDensity;
public:
Expand All @@ -71,6 +71,7 @@ class windTurbine
hubHeight = -999;
rotorDiameter = -999;
previousAirDensity = physics::AIR_DENSITY_SEA_LEVEL;
ctCurve = { 0.0 };
}
bool setPowerCurve(std::vector<double> windSpeeds, std::vector<double> powerOutput);
bool setCtCurve(std::vector<double> thrustCoeffCurve);
Expand Down

0 comments on commit 762f489

Please sign in to comment.