ding0.core.powerflow package¶
Module contents¶
-
class
ding0.core.powerflow.
PFConfigDing0
(**kwargs)[source]¶ Bases:
object
Defines the PF scenario configuration
Parameters: - scenarios (
list
ofstr
) – List of strings describing the scenarios - timerange (
list
of pandas.DatetimeIndex) – List of Pandas DatetimeIndex objects - timesteps_count (
int
) – count of timesteps the timesteps to be created - timestep_start (pandas.DatetimeIndex) – Description #TODO
- resolution (
str
) –String or pandas offset object, e.g. ‘H’=hourly resolution,
to learn more see http://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases
- srid (type) – partial reference system indentifier used by PyPSA’s plots #TODO
Note
This class can be called as follows:
With scenarios and timeranges:
scenarios = ['scn_1', ..., 'scn_n'], timeranges= [timerange_1, ..., timerange_n]
With scenarios, start time and count of timesteps:
scenarios = ['scn_1', ..., 'scn_n'], timesteps_count = m, timestep_start = datetime()
(in this case, n timeranges with m timesteps starting from datetime will be created)
-
resolution
¶ Returns resolution
-
scenarios
¶ Returns a generator for iterating over PF scenarios
-
srid
¶ Returns SRID
-
timesteps
¶ Returns a generator for iterating over PF timesteps
- scenarios (