input_data¶
Provides functionality for handling the request format for using in the EHubModel.
-
class
energy_hub.input_data.InputData(request: dict)[source]¶ Provides convenient access to needed data to implement an energy hub model.
-
c_matrix¶ Return a dictionary-format for the C matrix.
The format is like {converter name: {stream name: …}, …}
-
capacities¶ The list of capacities.
-
carbon_credits¶ The carbon credit of each stream.
-
carbon_factors¶ The carbon factor of each stream.
-
converter_names¶ Return the names of the converters.
-
converters¶ The list of converters.
-
converters_capacity¶ Return the capacities of the converters.
-
demand_stream_names¶ The sorted list of demand streams names.
-
demands¶ Return the TimeSeries that are demands.
-
export_streams¶ The names of streams that are exportable.
-
feed_in¶ The export price of each output stream.
-
fixed_capital_costs¶ Return the fixed capital cost for each converter.
-
fuel_price¶ Return the price of each fuel.
-
import_streams¶ The names of streams that are importable.
-
interest_rate¶ The interest rate.
-
linear_cost¶ Return the linear cost for each tech.
-
link_capacity¶ Return the capacities of the converters.
-
link_end¶ Return the id of the end node
-
link_length¶ Returns the length of each link
-
link_reactance¶ Return the reactance of each link
-
link_start¶ Return the id of the start node
-
link_thermal_loss¶ Return the thermal loss of each link
-
link_type¶ Return the type of each link
-
links_ids¶ Returns a list of id of all the links
-
loads¶ The data for all demands as a dictionary that is indexed by (demand time series ID, time).
-
output_stream_names¶ The sorted list of output streams names.
-
part_load¶ Return the part load for each tech and each of its outputs.
-
part_load_techs¶ The names of the converters that have a part load.
-
source¶ Return the TimeSeries that are sources.
-
source_stream_names¶ The sorted list of source streams names.
-
storage_annual_maintenance_cost¶ Returns annual maintenance cost of each storage
-
storage_capacity¶ The capacity of each storage.
-
storage_charge¶ The maximum charge of each storage.
-
storage_discharge¶ The maximum discharge of each storage.
-
storage_ef_ch¶ The charging efficiency of each storage.
-
storage_ef_disch¶ The discharging efficiency of each storage.
-
storage_fixed_capital_cost¶ Returns fixed capital cost of each storage
-
storage_lin_cost¶ The linear cost of each storage.
-
storage_loss¶ The decay of each storage.
-
storage_min_soc¶ The minimum state of charge of each storage.
-
storage_names¶ Return the names of the storages.
-
storage_npv¶ The net present value of each storage.
-
storages¶ The list of storages.
-
stream_names¶ Return the names of the streams.
-
stream_timeseries¶ Return the streams that have an availability timeseries.
-
streams¶ The list of streams.
-
tech_npv¶ The net present value of each converter.
-
time¶ Return the time steps of the model.
-
time_series_data¶ The data for the availability time series as a dictionary that is indexed by time.
-
time_series_list¶ The list of time series.
-
variable_maintenance_cost¶ The variable maintenance cost of each converter.
-