-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mr 127 requiredsvvoltage #133
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not related to this issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not related to this issue
from emf.task_generator.task_generator import update_task_status | ||
from emf.common.logging.custom_logger import get_elk_logging_handler | ||
|
||
logger = logging.getLogger(__name__) | ||
parse_app_properties(caller_globals=globals(), path=config.paths.cgm_worker.merger) | ||
|
||
|
||
def set_brell_lines_to_zero_in_models(opdm_models, magic_brell_lines: dict = None, profile_to_change: str = "SSH"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not related to this issue
return first_row | ||
|
||
|
||
def copy_topological_nodes_over(cgm_sv_data, original_data: list | pandas.DataFrame): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unclear what is happening here. CN has two terminals, one has EI and other has ACLineSegment, we need dataframe with the other end voltage, eg other end TP node
already_existing = cgm_sv_data[(cgm_sv_data['KEY'] == 'SvVoltage.TopologicalNode') & | ||
(cgm_sv_data['VALUE'].isin(in_several_igms.index))] | ||
# Exclude the existing nodes | ||
in_several_igms = in_several_igms[~in_several_igms.index.isin(already_existing['VALUE'])] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not use isin, it is known to be slow, there is function in triplet, filter data frame by data frame, if needed
Was intended to be illustration only |
Hack for #127 copy svVoltages for missing boundary nodes from igms