Comments (8)
Thank you very much for your message. You are right, my equation in both the Modelica library and the paper "Open Source Library for the Simulation of Wind Power Plants" are wrong.
I fixed the issue in the Modelica library and created the new version v0.9.7 in d36d549.
from windpowerplants.
For the sake of completeness:
Impact of the performed bug fix: All simulation results of the library are now deviating from previous simulation results.
from windpowerplants.
Thank you so much for your attention. I will be using your library for my master thesis, it's great!. For the record, the following are two samples of the error introduced by the typo, calculated by gnu/octave. I don't think it's so bad :)
lambda = 5; beta = 5;
CpHeier(lambda, beta)_100
ans = 14.874
CpHeierTypo(lambda, beta)_100
ans = 12.793
lambda = 8; beta = 0;
CpHeier(lambda, beta)_100
ans = 41.092
CpHeierTypo(lambda, beta)_100
ans = 41.055
from windpowerplants.
Should it be 0.08beta (as proposed by @pablus) or 0.089beta (as in v0.9.7)?
from windpowerplants.
The equation for lambda1 is still not correct as
lambda1 := 1 / (1 / (lambda + 0.089*beta) - 0.035 / (beta ^ 3 + 1));
is used instead of
lambda1 := 1 / (1 / (lambda + 0.08*beta) - 0.035 / (beta ^ 3 + 1));
Fix is performed in 724ae6f.
from windpowerplants.
New release 0.9.8 is created.
from windpowerplants.
OK. Thanks. I just was wondering which coefficient is the right one ...
from windpowerplants.
The new equation of v0.9.8 may cause some numerical problems when simulating, e.g., WindPowerPlants.Examples.GenericPlantElectricRealData. Therefore, I added a numeric "offset" in the equation to achieve stable example simulations:
I thus changed
lambda1 := 1 / (1 / (lambda + 0.08*beta) - 0.035 / (beta ^ 3 + 1));
to
lambda1 := 1 / (1 / (lambda + 0.08*beta + Modelica.Constants.eps) - 0.035 / (beta ^ 3 + 1));
This change which does not affect the overall energy and power harvest.
from windpowerplants.
Related Issues (16)
- HTML conventions are not followed for h3 HOT 1
- Start time behavior of TriangleAndStep is wrong
- Change license to BSD 3 HOT 1
- Fix version wrong annotation version number and data
- Add unit of energy to output of power integrator in examples
- Enable of dialog in WindPowerPlants.WindSources.RealData is wrong
- Switch to MSL 3.2.3
- Switch to MSL 3.2.3 HOT 1
- Use full qualified class names in all examples to simlify duplication HOT 1
- Fully set initial conditions of simulation examples
- Change lambda1 to lambda_i in function WindPowerPlants.Functions.cpVal
- use of non-standard "NumberOfIntervals" annotation HOT 2
- Update Eberhart2015 reference HOT 3
- Warnings about missing initial assignments HOT 9
- Numerically strange cp value HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windpowerplants.