Hi,
when running the esc default scenario, investment unit and bus unit do not match:
ValueError Traceback (most recent call last)
Input In [3], in <cell line: 1>()
8 network = create_network()
9 network = attach_efficiencies(network)
---> 10 network = attach_costs(network)
12 network = scale_transportation_with_distance(network)
13 network = add_shipping(network)
Input In [2], in attach_costs(network)
294 return network
296 network = attach_component_costs(network, "links")
--> 297 network = attach_component_costs(network, "stores")
298 network = attach_component_costs(network, "generators")
300 return network
Input In [2], in attach_costs.<locals>.attach_component_costs(network, component)
254 # Consistency check: Correct units (ignore first letter for prefixed values)
255 # Warning: Does not catch case were bus unit is only a single letter
256 if _do_units_match(investment_unit, bus_unit) is False:
--> 257 raise ValueError(
258 f'Could not find matching cost data for {component} "{idx}": '
259 f"Expected {bus_unit} based on network, but found {investment_unit} in cost data."
260 )
262 prefix_bus_unit = bus_unit[0]
263 prefix_investment_unit = investment_unit[0]
ValueError: Could not find matching cost data for stores "H2 (l) storage tank (exp)": Expected t based on network, but found MWh_H2 in cost data.
ValueError: Could not find matching cost data for stores "H2 (l) storage tank (exp)": Expected t based on network, but found MWh_H2 in cost
Hi, when running the esc default scenario, investment unit and bus unit do not match: