-
Notifications
You must be signed in to change notification settings - Fork 2
Description
https://github.com/openego/osmTGmod/blob/features/egon/sql-scripts/functions.sql#L2502C21-L2502C33
Hi, unfortunately, this leading to error
NOTICE: v_branch.branch_id: 24907
NOTICE: v_branch.f_bus: 31814
NOTICE: v_branch.t_bus: 31815
NOTICE: v_S_long_MVA_sum_min: 0
NOTICE: v_U_OS: 380000
NOTICE: v_U_US: 110000
NOTICE: v_numb_transformers: 0
NOTICE: v_Srt: 3e+08
NOTICE: v_u_kr: 14
NOTICE: v_Z_TOS: 67.386665
NOTICE: v_X_TOS: 67.386665
NOTICE: v_Bl_TOS: -0.014839731
NOTICE: v_Bl_TOS_all: -0
ERROR: division by zero
e.g. [2024-10-19, 16:29:46 UTC] {init.py:484} ERROR - Exception raised with command 260. Check *** and code and restart with 'python ego_otg.py status2019 260'.
Traceback (most recent call last):
File "/home/ise/execution_folder/powerd-data/src/egon/data/datasets/osmtgmod/init.py", line 481, in osmtgmod
cur.execute(command)
psycopg2.errors.DivisionByZero: division by zero
CONTEXT: PL/pgSQL function otg_calc_transformer_specifications() line 54 at assignment
Executing SQL statement 260: called here https://github.com/openego/powerd-data/blob/features/auto-update-function/src/egon/data/datasets/osmtgmod/__init__.py#L484