move modeling paradigms to intro examples#539
Conversation
| system['surface_tilt'] = latitude | ||
| solpos = pvlib.solarposition.get_solarposition(times, latitude, longitude) | ||
| dni_extra = pvlib.irradiance.get_extra_radiation(times) | ||
| dni_extra = pd.Series(dni_extra, index=times) |
There was a problem hiding this comment.
Is this explicit conversion to pd.Series still needed?
| also includes a :py:class:`~pvlib.tracking.SingleAxisTracker` class that | ||
| is a subclass of :py:class:`~pvlib.pvsystem.PVSystem`. | ||
|
|
||
| The following code demonstrates how to use |
There was a problem hiding this comment.
I'd add some text here about the defaults in ModelChain because our example provides the absolute minimum input. Perhaps
ModelChain objects provide convenience methods that can provide default selections for models and can also fill necessary input data with modeled data. In our example below, we use convenience methods. For example, no irradiance data is provided as input, so the ModelChain object substitutes irradiance from a clear-sky model via the prepare_inputs method. Also, no irradiance transposition model is specified (kwarg transposition for ModelChain) so the ModelChain defaults to the haydavies model. In this example, ModelChain infers the DC power model from the module provided by examining the parameters defined for module.
|
I confirmed that this still renders fine, so I think it's ready to merge. |
Moves the "Getting Started"/"Modeling Paradigms" section to a new top-level "Intro Examples" page. I'd eventually like to see more quick examples added to this section.
Link to the rendered docs on rtd:
https://wholmgren-pvlib-python-new.readthedocs.io/en/introexamples/
docs/sphinx/source/api.rstfor API changes.docs/sphinx/source/whatsnewfile for all changes.git diff upstream/master -u -- "*.py" | flake8 --diff