@@ -54,16 +54,21 @@ Create a producer using pvlib with:
5454- :code: `number_of_inverters ` is the number of inverters in the PV system
5555- :code: `module ` is a pandas series with parameters for the module
5656- :code: `inverter ` is a pandas series with parameters for the inverter
57- - :code: `use_bifacial ` is a boolean idicating if the system uses bifacial calculation
57+ - :code: `use_bifacial ` is a boolean indicating if the system uses bifacial calculation
5858- :code: `albedo ` is the fraction of sunlight diffusely reflected by the ground
5959
60+ All three options also have 2 shared parameters:
61+
62+ - :code: `annual_deg ` a factor by which the energy produced by the system is degraded each year
63+ - :code: `start_year ` the year the producer started to generate energy (full year number)
64+
6065Create a power storage with:
6166
6267.. literalinclude :: power_storage_example.py
6368 :language: python
6469
6570- :code: `num_of_year ` is the number of years the storage system will be used
66- - :code: `grid_size ` is the size of the connection to the grid (in kW)
71+ - :code: `connection_size ` is the size of the connection to the grid (in kW)
6772- :code: `block_size ` is the size of each block in the storage system
6873- :code: `battery_hours ` is the number of hours the storage system should supply each day (used to determine the size of
6974 the system)
@@ -77,7 +82,7 @@ is false only uses te first augmentation.
7782
7883Additional parameters:
7984
80- - :code: `deg_table `, :code: `dod_table ` and :code: `rte_table ` are 3 listed of values between 0 and 1, specifying the
85+ - :code: `degradation_table `, :code: `dod_table ` and :code: `rte_table ` are 3 listed of values between 0 and 1, specifying the
8186 degradation, depth of discharge and round trip efficiency for each year
8287- :code: `pcs_loss `, :code: `mvbat_loss ` and :code: `trans_loss ` are different losses in the system
8388- :code: `idle_self_consumption ` and :code: `active_self_consumption ` are the percentage of the nominal storage system
@@ -136,11 +141,13 @@ parameters:
136141- :code: `usd_to_ils ` is a convertion rate from us dollars to israeli new shekel
137142- :code: `interest_rate ` is the market interest rate
138143- :code: `cpi ` is the consumer price index
139- - :code: `battery_deg_cost ` is the annual reduction of battery cost (in percentage)
144+ - :code: `battery_cost_deg ` is the annual reduction of battery cost (in percentage)
140145- :code: `base_tariff ` is the base tariff used to construct the tariff table
141146- :code: `low/high_winter/transition/summer_factor ` are factors by which the the base tariff is multiplied to create the
142147 tariff table
143148- :code: `buy_from_grid_factor ` is a factor by which to multiply a tariff to get the prices of buy power
149+ - :code: `hourly_sell/buy_prices ` a numpy array with prices for selling/buying power in each hour of a year or each hour
150+ of every year of the project
144151- :code: `tariff_table ` is an option to specify the tariff table directly
145152
146153The tariff table is constructed according to the following table:
@@ -149,7 +156,33 @@ The tariff table is constructed according to the following table:
149156
150157.. note ::
151158
152- The current version is only suited for working with tariffs with similar structure to the table above
159+ The simple version is only suited for working with tariffs with similar structure to the table above
160+
161+ Simulation with NN module
162+ ~~~~~~~~~~~~~~~~~~~~~~~~~
163+
164+ You can use a simulation with an NN model for daily charge/discharge decisions, capable of simulating the system with
165+ different price for each hour. To do this use a subclass of OutputCalculator called :code: `NNOutputCalculator `:
166+
167+ .. literalinclude :: nn_simulation_example.py
168+ :language: python
169+
170+ The additional parameters that the nn calculator take are:
171+
172+ - :code: `tariff_table ` a numpy array with tariff for every hour in every month
173+ - :code: `sell_prices ` the prices for selling power in each hour of a year or each hour of every year of the project
174+ - :code: `buy_prices ` the prices for buying power in each hour of a year or each hour of every year of the project
175+
176+ You should provide either tariff table or sell prices (sell prices take priority, buy prices are used if sell prices
177+ are provided).
178+
179+ You can also use the NN output calculator as input for the financial calculator:
180+
181+ .. literalinclude :: nn_financial_example.py
182+ :language: python
183+
184+ You can also use your own NN model by replacing the file :code: `schedule_model.onnx ` with your own onnx file, that has
185+ details of an NN model with the same inputs and outputs.
153186
154187Diagrams of the system
155188~~~~~~~~~~~~~~~~~~~~~~
0 commit comments