def __init__(self, config: StudyConfig, area: str): section = { "name": str, "group": str, "unitcount": int, "nominalcapacity": float, "market-bid-cost": float, } types = {ther: section for ther in config.get_thermal_names(area)} IniFileNode.__init__(self, config, types)
def __init__(self, config: StudyConfig): types = { ".shellclassinfo": { "iconfile": str, "iconindex": int, "infotip": str, } } IniFileNode.__init__(self, config, types=types)
def __init__(self, config: StudyConfig): types = { "antares": { "version": int, "caption": str, "created": int, "lastsave": int, "author": str, } } IniFileNode.__init__(self, config, types)
def __init__(self, config: StudyConfig): self.config = config rules: Dict[str, Type[int]] = dict() for area in self.config.areas: for mode in ["l", "s", "w", "h"]: rules[f"{mode},{area},0"] = int self._add_thermal(area, rules) IniFileNode.__init__(self, config=config, types={"Default Ruleset": rules})
def __init__(self, config: StudyConfig): types = { "general": { "version": int, "name": str, "mode": str, "date": str, "title": str, "timestamp": int, } } IniFileNode.__init__(self, config, types=types)
def __init__(self, config: StudyConfig): sections = [ "inter-daily-breakdown", "intra-daily-modulation", "inter-monthly-breakdown", "initialize reservoir date", "leeway low", "leeway up", "pumping efficiency", ] section = {a: (int, float) for a in config.area_names()} types = {name: section for name in sections} IniFileNode.__init__(self, config, types)
def __init__(self, config: StudyConfig): types = { "nodal optimization": { "non-dispatchable-power": bool, "dispatchable-hydro-power": bool, "other-dispatchable-power": bool, "spread-unsupplied-energy-cost": (int, float), "spread-spilled-energy-cost": (int, float), }, "filtering": { "filter-synthesis": str, "filter-year-by-year": str }, } IniFileNode.__init__(self, config, types)
def __init__(self, config: StudyConfig): types = { "general": {"mode": str}, "0": {}, "1": {}, "2": {}, "3": {}, "4": {}, "5": {}, "6": {}, "7": {}, "8": {}, "9": {}, "10": {}, "11": {}, } IniFileNode.__init__(self, config, types)
def __init__(self, config: StudyConfig, area: str): section = { "hurdles-cost": bool, "loop-flow": bool, "use-phase-shifter": bool, "transmission-capacities": str, "asset-type": str, "link-style": str, "link-width": int, "colorr": int, "colorg": int, "colorb": int, "display-comments": bool, "filter-synthesis": str, "filter-year-by-year": str, } types = {link: section for link in config.get_links(area)} IniFileNode.__init__(self, config, types)
def __init__(self, config: StudyConfig): types = { "ui": { "x": int, "y": int, "color_r": int, "color_g": int, "color_b": int, "layers": int, }, "layerX": { "0": int }, "layerY": { "0": int }, "layerColor": { "0": str }, } IniFileNode.__init__(self, config, types)
def __init__(self, config: StudyConfig): IniFileNode.__init__(self, config, types={})
def __init__(self, config: StudyConfig): # TODO Implements writer sets.ini IniFileNode.__init__(self, config, types={}, reader=SetsIniReader())
def __init__(self, config: StudyConfig): IniFileNode.__init__(self, config, GeneralData.TYPES)
def __init__(self, config: StudyConfig): types = { "layers": {}, "activeLayer": {"activeLayerID": int, "showAllLayer": bool}, } IniFileNode.__init__(self, config, types=types)
def __init__(self, config: StudyConfig): section = {a: float for a in config.area_names()} types = {"unserverdenergycost": section, "spilledenergycost": {}} IniFileNode.__init__(self, config, types)
def __init__(self, config: StudyConfig): types = {"prepro": {"intermonthly-correlation": float}} IniFileNode.__init__(self, config, types)