Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Issue yaml file

erikpohl53 edited this page Dec 9, 2022 · 1 revision
dist_xfmrs:
  conn:
    ht: delta
    lt: star_grounded
  design_factors:
    actual_avg_annual_growth: 4
    actual_years_in_operation: 15
    adj_factor: 1.25
    catalog_type: ACSR
    catalog_type_lateral: all
    pf: 0.9
    planned_avg_annual_growth: 2
    planned_years_in_operation: 10
    voltage_drop: null
  div_func_coeff:
  - 0.3908524
  - 1.65180707
  kv:
    ht: 11.0
    lt: 0.415
  method:
    cluster_method: location_kmeans
    estimated_customers_per_transformer: 10
    name: clustering
  phase:
    neutral_present: true
    num_phase: 3
    phase_type: null
div_func_coeff:
- 0.3908524
- 1.65180707
exporter:
  path: C:\Users\epohl\Desktop\CIFF\Volt_VAr_Mini_Paper\Models\models_12_9\three_phase
  type: opendss
loads:
  conn:
    method: default
  kv:
    kv: 0.415
    method: simple
  kw:
    curve:
    - - 0
      - 0
    - - 10
      - 15.0
    - - 20
      - 35
    - - 50
      - 80
    method: piecewiselinear
  phase:
    method: random
    pct_single_phase: 100
    pct_three_phase: 0
    pct_two_phase: 0
  type:
    name: constantpowerfactor
    pf: 0.95
location:
  address: chennai, india
  distance: 500.0
primary_network:
  cond_type: overhead
  configuration:
    three_phase:
      height_of_top_conductor: 9
      space_between_conductors: 0.4
      type: horizontal
      unit: m
  design_factors:
    actual_avg_annual_growth: 4
    actual_years_in_operation: 15
    adj_factor: 1.25
    catalog_type: ACSR
    catalog_type_lateral: all
    pf: 0.9
    planned_avg_annual_growth: 2
    planned_years_in_operation: 10
    voltage_drop: 2.0
  kv: 11.0
  max_pp_distance: 100
  method: openstreet
  phase:
    neutral_present: false
    num_phase: 3
    phase_type: null
secondary_network:
  cond_type: overhead
  configuration:
    single_phase:
      height_of_top_conductor: 9
      space_between_conductors: 0.4
      type: horizontal
      unit: m
    three_phase:
      height_of_top_conductor: 9
      space_between_conductors: 0.4
      height_of_neutral_conductor: 9.4
      type: horizontal
      unit: m
  design_factors:
    actual_avg_annual_growth: 4
    actual_years_in_operation: 15
    adj_factor: 1.25
    catalog_type: ACSR
    catalog_type_lateral: all
    pf: 0.9
    planned_avg_annual_growth: 2
    planned_years_in_operation: 10
    voltage_drop: 5.0
  kv: 0.415
  max_pp_distance: 150
  phase:
    neutral_present: True
    num_phase: 3
    phase_type: null
    service_drop_neutral: True
substation:
  circuit_name: chennai
  freq: 50.0
  kv: 33.0
  kv_levels:
  - 0.415
  - 11.0
  - 33.0
  location:
  - 80.2786311
  - 13.091658
  phase:
    neutral_present: true
    num_phase: 3
    phase_type: null
  pu: 1.0
  z0:
  - 0.001
  - 0.001
  z1:
  - 0.001
  - 0.001
substation_xfmr:
  conn:
    ht: delta
    lt: star_grounded
  design_factors:
    actual_avg_annual_growth: 4
    actual_years_in_operation: 15
    adj_factor: 1.25
    catalog_type: ACSR
    catalog_type_lateral: all
    pf: 0.9
    planned_avg_annual_growth: 2
    planned_years_in_operation: 10
    voltage_drop: null
  div_func_coeff:
  - 0.3908524
  - 1.65180707
  kv:
    ht: 33.0
    lt: 11.0
  phase:
    neutral_present: true
    num_phase: 3
    phase_type: null

125457, Phase = Phase.CN NumPhase = NumPhase.SINGLE, Connection Type = LoadConnection.STAR, kw = 1.0799999999999998, pf = 0.95, kv = File "C:\Users\epohl\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1130, in call return self.main(*args, **kwargs) File "C:\Users\epohl\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1055, in main rv = self.invoke(ctx) File "C:\Users\epohl\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "C:\Users\epohl\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "C:\Users\epohl\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 760, in invoke return __callback(*args, **kwargs) File "c:\users\epohl\desktop\ciff\volt_var_mini_paper\shift_volt_var\shift\shift\cli\shift.py", line 59, in create_feeder generate_feeder_from_yaml(config_yaml) File "c:\users\epohl\desktop\ciff\volt_var_mini_paper\shift_volt_var\shift\shift\facade.py", line 586, in generate_feeder_from_yaml opendss_writer.export() File "c:\users\epohl\desktop\ciff\volt_var_mini_paper\shift_volt_var\shift\shift\exporter\opendss.py", line 552, in export writer.write(self.folder_location) File "c:\users\epohl\desktop\ciff\volt_var_mini_paper\shift_volt_var\shift\shift\exporter\opendss.py", line 156, in write bus1 = f"{remove_invalid_chars(self.mapping_dict[load.name])}.{load.phase.value}" KeyError: '80.27280848125457_13.08652973287196_load'

Clone this wiki locally