SAInt Software

SAInt (Scenario Analysis Interface for Energy Systems) is the first software application for planning, analysing and operating interconnected natural gas and electric power system networks simultaneously and in a single simulation framework.

SAInt can be used as a standalone gas network simulator, as a standalone power system simulator, as a gas and power system co-simulator or as a combined single time frame gas and power system simulator.

SAInt enables the user to model and analyse gas and electricity networks in a single Graphical User Interface (GUI) and a single simulation environment, therefore, avoiding time consuming and inaccurate iterative data exchanges between two structurally separated simulation environments.

SAInt can be interfaced to external applications, such as Matlab, MS Excel, MS Visual Studio or other existing Energy Systems Simulators to automate modelling and simulation processes or to establish a co-simulation platform using SAInt's standalone gas or power system solvers.


Areas of Application

SAInt is especially useful for addressing the following tasks:

(1.) Planning and Operation of coupled Natural Gas and Electricity Networks
(2.) Reliability and Feasibility Studies of coupled Natural Gas and Electricity Networks
(3.) Contingency Analysis of coupled Natural Gas and Electricity Networks
(4.) Day-Ahead and Real-Time Coordination of coupled Natural Gas and Electricity Networks
(5.) Linepack Management
(6.) Sensitivity Analysis (using SAInt-API)
(7.) Monte-Carlo-Simulation (using SAInt-API)


Questions SAInt can address


  • What are the impacts of natural gas network constraints on power system operations?
  • What is the value of coordinating electricity and natural gas network operations?
  • What are the impacts of power to gas on electricity and gas network operations?
  • What are the impacts of an extreme weather event or of a gas network (or electricity network) contingency on the reliable operation of both critical energy infrastructures?
  • What are the impacts of new federal or state policies on the operation of both systems?

Software Modules

SAInt is divided into three different software modules, namely, SAInt-API, SAInt-GUI & SAInt-Batch:

  1. SAInt-API (Application Programming Interface) is the main simulation engine of the software and contains all solvers, routines and classes for generating gas and power system objects and their interconnections. SAInt-API can be interfaced with external applications, such as  MS Excel, Matlab, Visual Studio, IronPython, PLEXOS etc.. 
  2. SAInt-GUI (Graphical User Interface) is the main graphical user interface for creating and editing Gas and Electric Network Models and for setting up an executing different types of Scenarios
  3. SAInt-Batch is a console application for executing time intensive gas and power system computations from a batch file or from the Windows Command Line

Gas Network Simulation

The gas network simulation models in SAInt are based on the one-dimensional continuity, momentum, energy, and state equations, derived from the laws of conservation of mass, momentum and energy and the real gas law. The gas compressibility is taken into account through an equation for the compressibility factor. The compressibility equations derived by Papay and the AGA, AGA8DC92 and GERG2008 equation as well as additional custom equations are available for computing the compressibility factor. Furthermore, the gas model contains a number of options for computing the friction factor for pipelines such as the Hofer, Zanke and Colebrook-White equation. In addition, gas networks can be simulated with gas quality and temperature tracking.

The following standalone gas network simulation models are available:

(1.) Steady State Gas Network Simulation
(2.) Dynamic Gas Network Simulation


Electricity Network Simulation

The simulation models for electricity networks are based on steady state alternating currents (AC). Transmission lines and transformers are modeled by a unified pi-circuit model, while generation units and loads are modeled at buses. Time transitional constraints of generation units, such as start-up and shut down times as well as maximum ramp rates are considered.

The following standalone electricity network simulation models are available:

(1.) Steady State AC-Power Flow Simulation
(2.) Steady State AC-Optimal Power Flow Simulation
(3.) Quasi-Dynamic AC-Power Flow Simulation
(4.) Quasi-Dynamic AC-Optimal Power Flow Simulation


Combined Gas and Electricity Network Simulation

The combined simulation of gas and electricity is one of the unique model features of SAInt. In a combined simulation, the equations describing the gas and power system are linked through a number of coupling equations reflecting the physical interlink between the two energy vectors. The resulting system of equations are solved simultaneously for each time step. The coupling between both vectors includes:

  • the gas offtake from gas networks to generate electricity in gas fired power plants connected to electricity networks,
  • the power offtake from electric networks to operate the electric engines in gas compressor stations, and
  • the power offtake from electric networks to operate LNG regasification terminals.
  • the power offtake and the gas injection of power to gas facilities.

One of the most powerful features of the combined simulation model is its ability to define conditional control changes, which may include state information of both energy vectors. For instance, the startup and shutdown of a gas fired power plant in the electric network, which depend on the available gas pressure and linepack in the gas network, can be modelled realistically by conditional expressions.

The following combined gas and electricity network simulation models are available:

(1.) Combined Steady Gas and Steady AC-Power Flow Simulation
(2.) Combined Steady Gas and Steady AC-Optimal Power Flow Simulation
(3.) Combined Dynamic Gas and Quasi-Dynamic AC-Power Flow Simulation
(4.) Combined Dynamic Gas and Quasi-Dynamic AC-Optimal Power Flow Simulation


Demo 


Release History

01. Juli 2019

SAInt Software 2.0

  • Newly designed graphical user interface including:
    • New Ribbon bar has replaced menu strip and tool strip in previous version
    • New Application Menu for managing sessions and for loading recent files
    • New Docking and Floating functionality for windows gives the user more flexibility to customize windows layout
    • New Project Explorer for managing project files
    • New Model Explorer with detailed hierarchical view of all loaded objects and filtering capability
    • New Map window for plotting networks in different views and in multiple maps
    • New Workspace window for viewing defined functions and variables
    • New Tables with features for grouping, filtering and searching for strings in columns and for displaying aggregated values for numerical columns. Exporting table content to CSV, MS Excel, HTML and PDF have also been added
    • New Property Window with hierarchical view of collections
    • New Log Window with filtering capability
  • New network editing capability added which allows user to add, remove and disconnect elements as well as join disconnected nodes
  • Content of network files has been reduced and label, vertices and polygon data are saved in separate files *.lbl, *.vtc and *.plg, respectively
  • All label, vertices and polygon files can be exported and included
  • Intervalls of Color Legends in Map window can be customized by the user as well as the displayed unit
  • Objects can have multiple labels and multiple background labels can be added to each network
  • Selection in map can be filtered by different object types through checkbox legend
  • Gas quality and temperature tracking added for steady state and dynamic gas network simulation as well as for coupled gas-electric simulation (upgrade license needed, trial licenses available)
  • Gas qualities and components can be imported from a text file, exported to a *.qual file and included as a *.qual file.
  • AGA8DC92, GERG2008 equations for computing gas compressibility factor added
  • Multiple functions added for API calls from unmanaged programming languages (Python, C etc.)

01. January 2019

SAInt Software 1.2.1.2

  • Export of selected subnetworks to a network file enabled
  • Properties added to net objects for comparing results from previous run through profile assignment
  • command line options for SAInt-Batch extended by following options:
    • -ignet filename-> specifies the filepath to the network import file for creating a new gas network file. Gas network file will be saved in the same directory as the import file and the filename of the network is the same at the import filename with the exception of the file extension.
    • -ienet filename -> specifies the filepath to the network import file for creating a new gas network file. Electric network file will be saved in the same directory as the import file and the filename of the network is the same at the import filename with the exception of the file extension.
    • -pgnet filename -> specifies the filepath to the parameter import file for updating the input parameters of the gas network model currently loaded with command option -gnet. Make sure gas network file is loaded before importing parameter.
    • -penet filename -> specifies the filepath to the parameter import file for updating the input parameters of the electric network model currently loaded with command option -enet. Make sure electric network file is loaded before importing parameter.
    • -ngsce ScenarioName ScenarioType StartTime EndTime TimeStep -> Create new gas scenario for loaded gas network model
    • -nesce ScenarioName ScenarioType StartTime EndTime TimeStep -> Create new electric scenario for loaded electric network model
    • -igsce filename ->Import scenario import file to loaded gas scenario model
    • -iesce filename ->Import scenario import file to loaded electric scenario model
    • -igprf filename ->Import profile import file to loaded gas scenario model.
    • -ieprf filename ->Import profile import file to loaded electric scenario model.
    • -gsol output description file output file ->generates time series of specified outputs in output description file and saves it into output file using the predefined file path set with batch options -gnet, -gsce.
    • -esol output description file output file ->generates time series of specified outputs in output description file and saves it into output file using the predefined file path set with batch options -enet, -esce.
  • Parameter import allows import of network parameters and not only net object parameters, thus parameters like gas properties, reference conditions etc. can be updated through parameter import

30. June 2018

SAInt Software 1.2.1.1

  • Maximum and minimum active power generation capacity (PGCMAX, PGCMIN) added as property to ENET
  • Background images can be added and positioned in map using the property editor
  • Project folder can be opened from property editor of corresponding network
  • Images (*.bmp, *.png,*.jpg etc) can be added to labels and rendered together with labelinfo. All images a saved in folder Images located in the same folder as the network file
  • Networks can be assigned a label. Network labels are rendered on a fixed location in map. Labelinfo for Network labels requires specification of ObjectType.Name.Extension
  • Bus types can be changed in GUI in network mode
  • Electric loads and loads originating from the coupling between gas and electric system (power supply to compressor station, LNG Terminal, UGS facilities etc.) can be assigned a power factor instead of defining a reactive power demand set point (QDSET), however, definition of QDSET in scenario table has priority over power factor definition
  • New properties PWRF (power factor for local electric loads) and PWRFGAS (power factor for gas system loads) added to electric bus
  • Reactive power demand set point (QDSET) and reactive power demand from the gas system (QDGAS) have been added as properties to electric buses
  • Heat rate curve, cost function, and reactive power capability curves of generation unit can be plotted using the property editor. Plots include operating points of each generator.
  • Console application SAInt-Batch for time intensive simulation is now available but requires additional licenses for accessing SAInt-API. All simulation modules available in SAInt ( SteadyGas, DynamicGas, CombinedDynamicGasQuasiDynamicACOPF Simulation etc.) can be called from a batch file or from the windows command line without using the GUI. SAInt-Batch can also be called from the SAInt command window. Results obtained from SAInt-Batch can be viewed in SAInt-GUI.

31. January 2018

SAInt Software 1.2.1.0

  • New licence management system integrated into SAInt requires the use of a local or network server connected usb-dongle. Different license models are now available for different simulation modules of the software (local license, floating license, pay-per use, time-restricted licenses etc.)
  • Expression editor for python expressions added to property editor for scenario event. Expressions for 'Value' and 'Condition' property can be evaluated in the editor
  • property editor and collection editor for objects and object lists can be opened from model tree by double clicking on a treenode with the right mouse button
  • time plots of profiles can be opened in scenarioevent and profile property editor under property 'ProfileName' or 'Name', respectively
  • plot of storage envelope can be opened from the property editor from envelope input parameters (WDRMAX, WDRMIN, INJMAX, INJMIN etc.)
  • global symbol sizes and line width can be changed with a slider in the property editor of gas or electric network
  • network tables (GNET, ENET) have been replaced by tables GSUB, ESUB, which lists the corresponding subsystem objects
  • collection properties in property editor can be opened in a collection editor which also includes a property editor for each item in the collection
  • property editor is now available for networks, subsystems, scenarios, scenario events and profiles
  • Subsystem assignment through nation polygon mapping for gas and electricity system has been enabled
  • result plots for different output extensions can now be invoked from property editor
  • connected node or element objects can be opened from property editor (see category "Topology")
  • export to import file enabled for electric networks, import file also contains information on line vertices
  • subsystem assignment in electric network import has been added, assignment is analogous to gas network import
  • focused network objects can now be moved without pressing the ALT key if no scenario is opened (edit network mode), if a scenario is opened the displacement of network objects requires the selection of the object, the focusing of at least one selected object and the pressing of the ALT-key
  • multiple marked objects can only be moved by focusing one of the marked objects and at the same time pressing the ALT key to move the marked objects
  • double click on a nation polygon opens the property editor of the nation, where different settings can be edited
  • speed of pipe arrow movement in animation mode is correlated to gas flow velocity, while speed of electric line arrow movements is correlated to line current (the higher the gas flow velocity in pipeline or the line current in electric lines the faster the movements of the respective element arrow)
  • element direction can be changed through context menu when element is focused
  • element symbols are always drawn in the geometric center of element line independent of the number of vertices (internal element points)
  • nodes and buses can no longer be assigned to a subsystem, subsystems can only contain elements
  • gas flow balance (FB) for a subsystem now respects all in- and outflows from and to the subsystem including flows of elements from neighbouring subsystems, thus correlation between flow balance and linepack is also respected in the subsystem plots
  • Security of Supply parameters can be analysed even if curtailments are defined through conditional and value expressions in scenario table, profile of scheduled demand can be assigned in property table which will be used for security of supply parameter calculation
  • calculation of AC-PF and AC-OPF enabled, even if no generation bus exists in isolated electric area
  • elements with same from and to nodes are drawn automatically in parallel by adding additional internal points
  • Internal points between from and to node for all gas and electric elements can be added through property editor -> Points or by opening the context menu while the element is focused and selecting Add Vertex or Remove Vertex respectively
  • when element is selected internal points are displayed and can be moved by focusing the internal point and at the same time moving the mouse while the ALT key is pressed
  • Labels can now be drawn with rounded corners and with linear gradient background colors
  • Fillcolor for element symbols can be selected in property tables
  • Color legend for pipes and lines have been extended by additional parameters
  • License issue related to MAC-address assignment has been solved also for merged version. New license files are required to use new versions
  • Intellisense feature added to SAInt-GUI. Suggestions are given if user types in expression in command line and command window
  • Multiplication factor for a profile in the scenario table can be an expression, thus allowing the consideration of seasonal effects in profiles (profile amplitudes can be given a sine or cosine form to change the amplitudes of profiles over a certain time period)
  • Profiles can be assigned a condition. If condition is not fulfilled control setting takes the last assigned value
  • issue with intermediate steady state calculation for dynamic simulation when checking feasibility of steady state solver has been solved. Reason was calling of ReadSteadySceEvent which assumed the current executed scenario is of type steady state
  • License issue if dynamic MAC-address is chosen to be stored in license file, changes has been done in JRC SAInt version C# project
  • Resistor object was missing ctrl and ctrlv which caused problems during simulation, which has been added to current version
  • PLEXOS interface added to Simulation settings (MappingList, DA and RT profile generation)
  • LNG Terminal Vessel arrival has been enabled and can be scheduled using scenario events
  • eta_had and eta_mech could not be changed in the property editor due to a bug
  • Evaluation of value expression in scenario definition is independent of evaluation type and depends only on the condition
  • Multiplicator for a profile can be a python expression that outputs a numeric value
  • scenario conditional property is ignored if evaluation type is set to 'none'
  • New python variables
    • gtime -> next gas simulation time point in hours at time of gas scenario event evaluation
    • gdt -> time step between next gas simulation time point and time point of gas scenario event evaluation
    • gtmax ->simulation time window for gas scenario in hours after scenario start time
    • gtimes ->list of gas simulation time points in hours
    • etime -> next electric simulation time point in hours after scenario start time at time of electric scenario event evaluation
    • edt -> time step between next electric simulation time point and time point of electric scenario event evaluation
    • etmax ->simulation time window for electric scenario in hours
    • etimes ->list of electric simulation time points in hours
  • New internal functions added
    • ifcnd(condition, truevalue, falsevalue) –> outputs truevalue if condtion is true and falsevalue if condition is false. truevalue and falsevalue can be an expression
    • intx(y, t, t0, tn) –> integral of y (->list of float values) over t (->list of float values with same size as y) from t0 (-> float value) to tn (-> float value)
    • intg(y, [t_o], [t_n]) –> time integral for for gas objects, gas time list specification not necessary, integral interval specification optional, if nothing specify full time window is used
    • inte(y, [t_o], [t_n]) –> time integral for electric objects, electric time list specification not necessary, integral interval specification optional, if nothing is specified full time window is used
    • dfdx(f, x, x0) -> derivative of f (->list of float values) over x (->list of float values with same size as f) at x0 (-> float value)
    • dfdtg(f, t0) –> time derivative for gas object, gas time list specification not necessary
    • dfdte(f, t0) –> time derivative for electric object, electric time list specification not necessary
    • mean(y) –> mean of values in y (-> list of float values)
    • meanh(y, t, t0, tn) –> time average of y (-> list of float values) over t (->list of float values with same size as y) from t0 (-> float value) to tn (-> float value)
    • meanhg(y, t0, tn) –> time average of y for gas object, gas time list specification not necessary
    • meanhe(y, t0, tn) –> time averaged of y for electric object, electric time list specification not necessary

Next Software Update:

Address:
cleaNRGi® Solutions GmbH
Am Waldthausenpark 9
45127 Essen
Germany

Tel.: +49 201 433 950 39
Email: info@cleaNRGi.com

Managing Director:
Dr. Kwabena A. Pambour

Registration:
District Court Essen, HRB 29024

Connect with us:

Picture Credits:
© Mobirise.com
© Dreamstime.com