Conversation
444172c to
6fd8edd
Compare
6fd8edd to
0416620
Compare
4a391ec to
2916d3a
Compare
3fed054 to
be407bd
Compare
d146018 to
31d23ef
Compare
f5c6440 to
c2f5c1d
Compare
adriengoeller
left a comment
There was a problem hiding this comment.
Could you add some integration tests based on the prototype to check values for some usecases ?
We can discuss about the usecases
| wind_attack_angle: floatArrayLike, | ||
| ) -> None: | ||
| # Compute missing wind attack angles | ||
| if isinstance(wind_attack_angle, np.ndarray) and wind_attack_angle.ndim > 0: |
There was a problem hiding this comment.
I'm not sure but I was expecting to check the size of the input before creating the mask. But it could be an intended behavior (built in numpy raise)
There was a problem hiding this comment.
I'll check the size of the input in _check_arguments
There was a problem hiding this comment.
I've changed my mind, it's easier to check it here
23f300f to
481cc2a
Compare
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
- Make cigre ConvectiveCooling inherit ConvectiveCoolingBase like the others, so as to factor wind attack angle check and computations. - Handle missing case in wind attack angle computation (when it's nan or an array containing nans) - Enable orriding wind attack angle when initializing a solver - Rename _nu_forced -> _nusselt_forced and _nu_natural -> _nusselt_natural Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
a7e47cd to
ef18376
Compare
I remember discussing this with Hervé and if I've understood correctly, the formulae used in the prototype aren't exactly the same as the ones implemented here. We should discuss it with Hervé again. |
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
|
|
Turns out the "solar flow" means |
The user wants the be able to set the solar irradiance, not the measured global radiation. Adds new solar heating power term `FixedSolarIrradianceSolarHeating` to be able to set the solar irradiance instead of computing it. Signed-off-by: ai-qui <184963772+ai-qui@users.noreply.github.com>
b5f6519 to
f1de9d6
Compare



Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
Fixes #97
Does this PR introduce a breaking change or deprecate an API?