Precise#
precise.py#
Generates precise IV curve data from the parameters of the single diode equation.
usage: precise.py [-h] [--test-set TEST_SET_FILENAME] save_json_path
- save_json_path#
Saves the test set JSON at the given path.
- -h, --help#
show this help message and exit
- --test-set <test_set_filename>#
Test set filename (excluding file extension) to generate curves for. If omitted, all test sets are used.
|
Calculates power at maximum power point. |
|
Finds a local maximizer of a function on an interval \([a, b]\) with at most |
|
Given a voltage, calculates the associated current using the Lambert W function. |
|
Given a current, calculates the associated voltage using the Lambert W function. |
|
Calculates the difference between the left hand side and right hand side of the single diode equation. |
|
Calculates precise solutions to the single diode equation for the given parameters, with an error of at most |
|
Builds a dict of precise IV curve solutions compliant with the IV Curve JSON schema. |