OK, since adding the pool pump entity into the system, Iām at a loss at to what I do next.
In the documentation it says:
You must follow these steps to make EMHASS work properly:
- Define all the parameters in the configuration file according to your installation. See the description for each parameter in the configuration section.
- You most notably will need to define the main data entering EMHASS. This will be the sensor_power_photovoltaics for the name of the your hass variable containing the PV produced power and the variable sensor_power_load_no_var_loads for the load power of your household excluding the power of the deferrable loads that you want to optimize.
- Launch the actual optimization and check the results. This can be done manually using the buttons in the web ui orwithacurlcommandlikethis:curl -i -H āContent-Type:application/jsonā -X POST -d ā{}ā http://localhost:5000/action/dayahead-optim.
Step 1. we did some of it previously but much of the config file I still donāt follow what I am supposed to enter. Yes I have read the documentation. Further questions below.
Step 2. we did last time.
Step 3. I tried clicking on the buttons in the web UI but nothing happens.
.
I have some questions about the configuration file.
hass_url: empty
long_lived_token: empty
Do I leave these as empty?
.
costfun: profit
Iām not sure which to use.
.
optimization_time_step: 30
historic_days_to_retrieve: 2
method_ts_round: nearest
lp_solver: COIN_CMD
lp_solver_path: /usr/bin/cbc
I guess i just leave these alone?
.
set_total_pv_sell: false
What is this?
.
number_of_deferrable_loads: 2
list_nominal_power_of_deferrable_loads:
- nominal_power_of_deferrable_loads: 3000
- nominal_power_of_deferrable_loads: 750
list_operating_hours_of_each_deferrable_load:
- operating_hours_of_each_deferrable_load: 5
- operating_hours_of_each_deferrable_load: 8
Not sure what to enter here. For instance most loads I would call deferrable (such as washing machines, clothes dryers, dishwashers etc) are variable power loads, not something with a fixed power draw. Their duration of operation also varies.
.
list_peak_hours_periods_start_hours:
- peak_hours_periods_start_hours: "02:54"
- peak_hours_periods_start_hours: "17:24"
list_peak_hours_periods_end_hours:
- peak_hours_periods_end_hours: "15:24"
- peak_hours_periods_end_hours: "20:24"
list_treat_deferrable_load_as_semi_cont:
- treat_deferrable_load_as_semi_cont: true
- treat_deferrable_load_as_semi_cont: true
load_peak_hours_cost: 0.31
load_offpeak_hours_cost: 0.18
photovoltaic_production_sell_price: 0.076
Not sure how to enter in peak hours. We have 3 different TOU tariffs (well 4 really) and when they occur depends on the day of the week.
.
maximum_power_from_grid: 12000
With a 3-phase supply I guess itās in the vicinity of 23 kW. Not that I have ever drawn that much or ever plan to.
.
list_pv_module_model:
- pv_module_model: Trina_Solar_TSM_275DEG5_II_
list_pv_inverter_model:
- pv_inverter_model: Fronius_International_GmbH__Fronius_Symo_10_0_3_208_240__240V_
list_surface_tilt:
- surface_tilt: 23
list_surface_azimuth:
- surface_azimuth: 22
list_modules_per_string:
- modules_per_string: 10
list_strings_per_inverter:
- strings_per_inverter: 4
Not sure how to complete this section. Panel model is a guess.
I have two PV inverters, one grid-tied, one off-grid. There are arrays covering three different orientations. How do I deal with different orientations, and with two inverters?
.
set_use_battery: true
battery_discharge_power_max: 4000
battery_charge_power_max: 2500
battery_discharge_efficiency: 0.95
battery_charge_efficiency: 0.95
battery_nominal_energy_capacity: 10000
battery_minimum_state_of_charge: 0.1
battery_maximum_state_of_charge: 1
battery_target_state_of_charge: 0.6
My battery is off-grid. Not sure if that matters?
.
What else am I missing? The configuration documentation seems to refer to many things which donāt appear in the HA configuration page.