![homer pro tutorials homer pro tutorials](https://i5.walmartimages.com/asr/cdf8afc0-5b9d-4075-a4e7-a92545208f3b.2d3ba767fc78c6db20ac208cdc99a025.png)
For this location, the file demand-1.csv is loaded and the column demand is taken (the text after the colon). Instead, this is done directly via a location-specific override. Note that we did not define any resource option in the definition of the demand_power technology. CSV is a simple text-based format that stores tables by comma-separated rows.
#HOMER PRO TUTORIALS SERIES#
For demand_power, the options set here are related to reading the demand time series from a CSV file.
![homer pro tutorials homer pro tutorials](https://microgridnews.com/wp-content/uploads/2020/08/HP-Proposal-SS-3.jpg)
For the latter, it simply sets a location-specific maximum capacity constraint. It also overrides some options for both demand_power and ccgt.
![homer pro tutorials homer pro tutorials](https://d3i71xaburhd42.cloudfront.net/baa51b2cb867d6b845bdd221d8835a811c493f25/2-Figure2-1.png)
Note that technologies listed here must have been defined elsewhere in the model configuration. The location specifies a dictionary of technologies that it allows ( techs), with each key of the dictionary referring to the name of technologies defined in our techs.yaml file. Region1 : coordinates : techs : demand_power : constraints : resource : file=demand-1.csv:demand ccgt : constraints : energy_cap_max : 30000 # increased to ensure no unmet_demand in first timestep Finally, it also overrides the default value for the monetary interest rate. The costs are more numerous as well, and include monetary costs for all relevant components along the conversion from resource to carrier (power): storage capacity, resource collector area, resource conversion capacity, energy conversion capacity, and variable operational and maintenance costs. Finally, the resource collector area and the installed carrier conversion capacity are constrained to a maximum. It also defines a carrier conversion efficiency of 0.4 and a parasitic efficiency of 0.9 (i.e., an internal loss of 0.1). Its constraints are more numerous: it defines a maximum storage capacity ( storage_cap_max), an hourly storage loss rate ( storage_loss), then specifies that its resource should be read from a file (more on that below). Csp : essentials : name : 'Concentrating solar power' color : '#F9CF22' parent : supply_plus carrier_out : power constraints : storage_cap_max : 614033 energy_cap_per_storage_cap_max : 1 storage_loss : 0.002 resource : file=csp_resource.csv resource_unit : energy_per_area energy_eff : 0.4 parasitic_eff : 0.9 resource_area_max : inf energy_cap_max : 10000 lifetime : 25 costs : monetary : interest_rate : 0.10 storage_cap : 50 resource_area : 200 resource_cap : 200 energy_cap : 1000 om_prod : 0.002Īgain, csp has the definitions for name, color, parent, and carrier_out.