-
Notifications
You must be signed in to change notification settings - Fork 94
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
Separate but Interconnected Diagrams for Power Network Sections #324
Comments
Hi! This is exactly how it works. You can create new diagrams in a variety of ways:
When simulating, all the elements in the database regardless of the diagram are simulated together. Let me know if you manage. |
Is there a way to do this on a script. for example i have created one part, to that file i will add the second part with code as a new diagram. or maybe in a single code i will create two grids using grid = gce.MultiCircuit() (gce is Gridcalengine) |
You can easily do that by adding a circuit in the GUI with "import circuit" You can generate a schematic diagram with the function from GridCal.Gui.Diagrams.SchematicWidget.schematic_widget import generate_schematic_diagram
# load the grid or whatever....
diagram = generate_schematic_diagram(buses=circuit.get_buses(),
busbars=circuit.get_bus_bars(),
connecivity_nodes=circuit.get_connectivity_nodes(),
lines=circuit.get_lines(),
dc_lines=circuit.get_dc_lines(),
transformers2w=circuit.get_transformers2w(),
transformers3w=circuit.get_transformers3w(),
windings=circuit.get_windings(),
hvdc_lines=circuit.get_hvdc(),
vsc_devices=circuit.get_vsc(),
upfc_devices=circuit.get_upfc(),
series_reactances=circuit.get_series_reactances(),
switches=circuit.get_switches(),
fluid_nodes=circuit.get_fluid_nodes(),
fluid_paths=circuit.get_fluid_paths(),
explode_factor=1.0,
prog_func=None,
text_func=None)
circuit.add_diagram(diagram) Bear in mind that that is an internal function and it may be subject to change. |
Is your feature request related to a problem? Please describe.
I'm looking for a way to separate different parts of the power network, such as distribution and transmission, into different diagrams. However, these diagrams should still be connected or linked, as they are part of the same network. It can be challenging to analyze or visualize complex power systems without dividing them into different sections while maintaining interconnections.
Describe the solution you'd like
I would like to have the ability to create separate diagrams for different network sections (e.g., transmission and distribution) and link them so that they act as part of a single network. This would allow each section to be displayed on its own diagram, but any changes or data affecting one diagram would also reflect in the others where they are linked.
The text was updated successfully, but these errors were encountered: