IscInterface
The IscInterface class is the main interface class used to access all other IPSA objects and functions. It must be created before any other references to IPSA objects. To create an instance from Python the following commands are required when running IPSA with the User Interface:
# Run inside the IPSA User Interface
import ipsa
ipsascript = ipsa.GetScriptInterface()
The GetScriptInterface() returns an IscInterface instance which can then be used to access all other IPSA objects. The following sections provide the syntax for all other IscInterface functions.
Alternatively, the following code returns the IscInterface object when IPSA is running without a User Interface. In IPSA, the GetInterface() function should work as a conduit between both functions:
# Run with No User Interface
import ipsa
ipsascript = ipsa.IscInterface()
The functions IscInterface and GetScriptInterface must only be called once for each running process.
Unexpected errors will occur if multiple calls to the above functions are made!
Debugging Options
To aid the development of scripted applications a number of debugging functions have been provided. These functions allow logging and timing of the analysis routines by providing detailed information on the analysis settings and data loaded into the analysis engines. The example below shows the output generated from a DoLoadFlow() function on a small test network.
IlfSetParameters: (100, 100, 0.01, 1,250,250,250,250,0, 0)
IlfSetRunOpts: (0, 1, 1, 1, 1, 0, 1)
IlfAddBusbarWithName: ([1]: <b>Busbar1</b> 0, 1, 0)
IlfAddBusbarWithName: ([2]: <b>Busbar2</b> 0, 1, 2e-005)
IlfAddUniversalMachine: (2, 0, 2, 0, 0)
IlfAddGridInfeed: (1, 0, 1, -2, 4.00037e-005, 0.1, 0.1, 0.1, 0, 0, 0, 0)
IlfAddBranch: (1, 2, 3, 0.0001, 0.001, 0)
IlfSetSlkBus: (1, 1)
IlfDoCalc: (4)
IlfGetBusResults: (1, 1, 0, -0.000529898, -0.00267593)
IlfGetBusResults: (2, 1, 1.99973e-005, 0.000265069, 0)
IlfGetGridInfeedResults: (1, -2.00026, -0.00263594)
IlfGetUMachResults: (1, 2, 0)
IlfGetLineResults: (1, -1.99973, 3.99892e-005, -1.99973, -0)
Database Functionality
The database functionality is accessible within PyIPSA. The user simply has to open a database and populate an item with a database entry using the string as a reference. There is even added functionality to support item names returned to the user as well.
IscInterface Class
- class ipsa.IscInterface
The main interface class used to access all other IPSA objects and functions.
- ReadFile(strName: str)
Opens an IPSA i3f/i2f file strName and returns an IscNetwork instance for that file.
- Parameters:
strName (str) – The IPSA i3f file that is going to be opened.
- Returns:
The IscNetwork instance for the strName file
- Return type:
- ReadIpsa1File(strName: str)
Imports an IPSA 1 (*.iif) file strName and returns an IscNetwork instance for that file.
- Parameters:
strName (str) – The IPSA file that is going to be imported.
- Returns:
The IscNetwork instance for the strName file
- Return type:
- GetNetwork()
Returns an IscNetwork instance for the current IPSA network.
- Returns:
The IscNetwork instance of the IPSA network.
- Return type:
- CloseNetwork() bool
Closes the current network. Returns False if the network can’t be closed, e.g. if there is unsaved data.
- Returns:
Boolean denoting whether the network is closed.
- Return type:
- GetDiagram(network, strName: str)
- GetDiagram(network, nUID: int)
Returns an IscDiagram instance for the diagram with name strName or ID nUID contained in the identified network.
- Parameters:
network (IscNetwork) – The IscNetwork instance of the IPSA network.
strName (str) – The name of the diagram.
nUID (int) – The diagram ID.
- Returns:
The diagram of the IPSA network.
- Return type:
- CreateNewNetwork(dSystemBaseMVA: float, dFrequencyHz: float, bWithDiagram: bool, bIsDiagramSingleLine: bool, dGeoSceneScale: float, nSceneMeasurementUnit: int) bool
Creates a new IPSA network based on the supplied parameters. Returns False if the network can’t be created.
- Parameters:
dSystemBaseMVA (float) – The network base MVA.
dFrequencyHz (float) – The nominal network frequency in hertz.
bWithDiagram (bool) – Denoting whether the diagram is required.
bIsDiagramSingleLine (bool) – True if a normal single line diagram type is required, False if the diagram is a scaled geographic diagram.
dGeoSceneScale (float) – The scaling factor used to locate or size network components on geographic diagrams.
nSceneMeasurementUnit (int) –
The unit used for the geographic scale.
0 if Millimetres
1 if Centimetres
2 if Metres
3 if Kilometres
4 if Inches
5 if Feet
6 if Yards
7 if Miles
- Returns:
Boolean denoting whether a network can be created.
- Return type:
- ValidatedMergeFile(sMergeName: str) bool
Performs a consistency check to determine if the IPSA i3f/i2f file sMergeName can be merged into the current network. Use the GetFilingErrors() function to get details of the merge errors.
- GetFilingMessages() List[str]
Returns a list of strings detailing the successful merge operations that occurred as a result of the ValidatedMergeFile function.
- GetFilingErrors() List[str]
Returns a list of strings detailing the failed merge operations that occurred as a result of the ValidatedMergeFile function.
- WriteFile(strName: str) bool
- WriteFile(strName: str, lScenarios: list[int]) bool
Saves the IscNetwork instance as a new IPSA i3f network file with the file name strName. The file is saved in the current working directory unless the path is defined in the file name. The file name should include the .i3f extension
If a list of scenarios is provided, only these scenarios will be exported. If only one scenario is provided, a single scenario file will be created, otherwise the save file will also contain the current network configuration. If none of the provided scenarios IDs are valid, the operation will fail.
- WriteArea(nAreaUID: int, strName: str) bool
- WriteArea(nAreaUID: int, strName: str, lScenarios: list[int]) bool
- WriteArea(nAreaUID: int, strName: str, bOnlyComponentChanges: bool, bIncludeAncestors: bool) bool
Saves the area group specified by the UID, nAreaUID, as a new IPSA i3f network file with the file name strName. The integer nAreaUID can be obtained using the IscGroup functions. The file is saved in the current working directory unless the path is defined in the file name. The file name should include the .i3f extension
If a list of scenarios is provided, only these scenarios will be exported. The save file will also contain the current network configuration. If none of the provided scenarios IDs are valid, the operation will fail.
If bOnlyComponentChanges and bIncludeAncestors are provided, the scenarios will be automatically filtered by IPSA and only those “relevant” to the area will be saved. The save file will always include the current network configuration and the base scenario of the network. bOnlyComponentChanges determines whether the scenarios are filtered according to whether they have component with intrinsic changes (to e.g., voltage, resistance) or also for diagramatic changes (e.g., has one of the component been moved or drawn). bIncludeAncestors determines whether the scenarios are filtered to only those having components with changes, or also to maintain the hierarchy of the scenarios that are the “parents” of the scenarios with changes.
Note if GetFilterAreaScenariosOnSave is True, and the script is not running through IPSA, then this function will automatically filter the saved scenarios equivalently to setting bOnlyComponentChanges = False and bIncludeAncestors = True.
- Parameters:
nAreaUID (int) – The area group UID.
strName (str) – The name of the output file containing the i3f extension and path.
bOnlyComponentChanges (bool) – If True, only scenarios with component changes are included; if False, those with only diagram changes are also included.
bIncludeAncestors (bool) – If True, the hierarchy above all the scenarios with changes are included; if False, only the scenarios with changes themselves are included.
- Returns:
True if successful.
- Return type:
- GetAllDiagrams(network)
Returns a tuple of IscDiagram instances for the identified network.
- Parameters:
network (IscNetwork) – The IPSA network.
- Returns:
The network diagram.
- Return type:
- GetAllDiagramsNames(network) List[str]
Returns a list of all the diagram names for the identified network.
- Parameters:
network (IscNetwork) – The IPSA network.
- Returns:
List of diagram names.
- Return type:
- GetAllDiagramsUIDs(network)
Returns a dictionary of diagrams for the identified network. The keys are the Diagram IDs.
- Parameters:
network (IscNetwork) – The IPSA network.
- Returns:
Dictionary of diagrams for the network.
- Return type:
- AddDiagram(network, strSceneTitle: str, bIsDiagramSingleLine: bool, dGeoSceneScale: float, nSceneMeasurementUnit: int) int
- AddDiagram(network, strSceneTitle: str, bIsDiagramSingleLine: bool, dGeoSceneScale: float, nSceneMeasurementUnit: int, nCopyWhat: int, nDiagramToCopy: int) int
Creates a new diagram for the identified network based on the supplied parameters. Returns the diagram UID corresponding to the new diagram. Note that this function causes IPSA to rebuild the IscDiagram data maps.
If nCopy what and nDiagramToCopy are provided, they provide a reference diagram and determine what is copied from that diagram into the new diagram. If nDiagramToCopy is provided and doesn’t refer to an existing diagram, no new diagram will be created.
- Parameters:
network (IscNetwork) – The IPSA network.
strSceneTitle (str) – The name of the new diagram.
bIsDiagramSingleLine (bool) – True if a normal single line diagram type is required, False if the diagram is a scaled geographic diagram.
dGeoSceneScale (float) – The scaling factor used to locate or size network components on geographic diagrams.
nSceneMeasurementUnit (int) –
The unit used for the geographic scale.
0 if Millimetres
1 if Centimetres
2 if Metres
3 if Kilometres
4 if Inches
5 if Feet
6 if Yards
7 if Miles
nCopyWhat (int) –
Determines what is copied from the provided diagram pDiagramToCopy
0 if copy nothing
1 if copy the busbars as they are
2 if copy the busbars as junctions
3 if copy everything
nDiagramToCopy (int) – The UID of the diagram that any components may be copied from.
- Returns:
The diagram UID for the newly created diagram.
- Return type:
- AddSLDiagram(network, strSceneTitle: str) int
Creates a new single line diagram for the identified network. Returns the diagram UID corresponding to the new diagram. Note that this function causes IPSA to rebuild the IscDiagram data maps. This is equivalent to calling AddDiagram with bIsDiagramSingleLine = True.
- Parameters:
network (IscNetwork) – The IPSA network.
strSceneTitle (str) – The name of the new diagram.
- Returns:
The diagram UID for the newly created diagram.
- Return type:
- DeleteDiagram(network, pDiagram: IscDiagram) bool
- DeleteDiagram(network, nUID: int) bool
- DeleteDiagram(network, strName: str) bool
Deletes the diagram identified by name strName, ID nUID or IscDiagram pDiagram from the identified network.
- Parameters:
network (IscNetwork) – The IPSA network.
strName (str) – The name of the diagram to be deleted.
nUID (int) – The diagram ID to be deleted.
pDiagram (IscDiagram) – The diagram to be deleted.
- Returns:
True if the diagram is deleted.
- Return type:
- PrintPDF(diagram, strFileName) None
Print the IscDiagram instance to a PDF format file with name strFileName.
- Parameters:
diagram (IscDiagram) – The diagram of the IPSA network.
strFileName (str) – The name of the pdf file.
- MessageBox(strDialogTitle: str, strMessage: str) bool
Display a message box with title specified by strDialogTitle and a message specified by strMessage. An OK button is provided for the user to dismiss the dialog.
- AskQuestion(strDialogTitle: str, strQuestion: str) bool
Display a message box with a title and a question as shown below.
- AllowStackBarUpdates(bAllow: bool) None
Setting bAllow to True prevents the IPSA stack bar from updating during script execution. This can provide speed improvements since redrawing the stack bar is prevented.
- Parameters:
bAllow (bool) – Deciding whether the IPSA stack bar can be updated during script execution.
- GetDate() str
Returns the date and time that IPSA was launched, e.g. 06 Nov 2012 22:53:17.
- Returns:
The date in a string format.
- Return type:
- GetUser() str
Returns the name of the current logged on user.
- Returns:
The name of the current logged on user.
- Return type:
- GetOrganisation() str
Returns the company organisation data as set in IPSA preferences.
- Returns:
The company organisation data.
- Return type:
- GetNetworkTitle() str
Returns the network title as set in network properties.
- Returns:
The network title.
- Return type:
- GetNetworkFileName() str
Returns the filename of the current network.
- Returns:
The filename of the current network.
- Return type:
- GetFileName(strDialogTitle: str, strFileTypes: str) str
Display the operating system File Open dialog to prompt the user to select a file.
- GetDirectoryName(strDialogTitle: str) str
Display the operating system Folder Selection dialog to prompt the user to select a folder.
- GetVersion() str
Returns the version number of IPSA software.
- Returns:
The version number.
- Return type:
- HasLoadFlow() bool
Returns True if a load flow license is present.
- Returns:
Boolean denoting whether a load flow license is present.
- Return type:
- HasFaultLevel() bool
Returns True if a fault level license is present.
- Returns:
Boolean denoting whether a fault level license is present.
- Return type:
- HasTransient() bool
Returns True if a transient stability license is present.
- Returns:
Boolean denoting whether a transient stability license is present.
- Return type:
- HasProtection() bool
Returns True if a protection analysis license is present.
- Returns:
Boolean denoting whether a protection analysis license is present.
- Return type:
- HasHarmonics() bool
Returns True if a harmonics analysis license is present.
- Returns:
Boolean denoting whether a harmonics analysis license is present.
- Return type:
- HasNetworkReduction() bool
Returns True if a network reduction license is present.
- Returns:
Boolean denoting whether a network reduction license is present.
- Return type:
- HasUDM() bool
Returns True if a UDM (User Defined Modelling) license is present.
- Returns:
Boolean denoting whether a UDM license is present.
- Return type:
- HasDC() bool
Returns True if a DC component license is present.
- Returns:
Boolean denoting whether a DC component license is present.
- Return type:
- IsLimitedSize() bool
Returns True if the current license imposes a limit on the maximum number of busbars.
- Returns:
Boolean denoting whether the current license imposes a limit on the maximum number of busbars.
- Return type:
- GetMaxBusbars() int
Returns the maximum number of busbars if it is a limited busbar version, returns 0 if unlimited.
- Returns:
The maximum number of busbars if in limited busbar version, else 0.
- Return type:
- DisplayResultsTable(nTableType: int) None
Displays the IPSA results table which will contain the results of the last analysis.
- Parameters:
nTableType –
Specify the type of table displayed:
ipsa.IscInterface.BusbarLF = busbar load flow results
ipsa.IscInterface.GeneratorLF = generator load flow results
ipsa.IscInterface.GridInfeedLF = grid infeed load flow results
ipsa.IscInterface.LoadLF = load object load flow results
ipsa.IscInterface.IMachineLF = motor load flow results
ipsa.IscInterface.StaticVCLF = SVC load flow results
ipsa.IscInterface.MechSwCapLF = switched capacitor load flow results
ipsa.IscInterface.UMachineLF = universal machine load flow results
ipsa.IscInterface.FilterLF = harmonic filter load flow results
ipsa.IscInterface.LineLF = branch load flow results
ipsa.IscInterface.TransformerLF = transformer load flow results
ipsa.IscInterface.ThreeWindingTransformerLF = 3 winding transformer load flow results
ipsa.IscInterface.BatteryLF = DC battery load flow results
ipsa.IscInterface.DCMachineLF = DC machine load flow results
ipsa.IscInterface.ConverterLF = AC-DC converter load flow results
ipsa.IscInterface.ChopperLF = DC-DC converter load flow results
ipsa.IscInterface.MGSetLF = motor-generator set load flow results
ipsa.IscInterface.BusbarFL = busbar fault level results
ipsa.IscInterface.GeneratorFL = generator fault level results
ipsa.IscInterface.GridInfeedFL = grid infeed fault level results
ipsa.IscInterface.LoadFL = load object fault level results
ipsa.IscInterface.IMachineFL = motor fault level results
ipsa.IscInterface.LineFL = branch fault level results
ipsa.IscInterface.TransformerFL = transformer fault level results
ipsa.IscInterface.ThreeWindingTransformerFL = 3 winding transformer fault level results
ipsa.IscInterface.UniversalMachineFL = universal machine fault level results
ipsa.IscInterface.BusbarHM = busbar harmonic analysis results
ipsa.IscInterface.GeneratorHM = generator harmonic analysis results
ipsa.IscInterface.LoadHM = load object harmonic analysis results
ipsa.IscInterface.IMachineHM = motor harmonic analysis results
ipsa.IscInterface.FilterHM = filter harmonic analysis results
ipsa.IscInterface.LineHM = branch harmonic analysis results
ipsa.IscInterface.TransformerHM = transformer harmonic analysis results
ipsa.IscInterface.ThreeWindingTransformerHM = 3 winding transformer harmonic analysis results
- Type:
- GetResultsTableText(nTableType: int) str
Returns the data contained in the results’ table as a comma delimited string which can be pasted directly into a spreadsheet.
- CloseResultsTable(nTableType: int) None
Closes the results’ table nTableType which is as defined for the DisplayResultsTable function.
- Parameters:
nTableType (int) – The type defined for the DisplayResultsTable function.
- DbgSetLogFileName(strName: str) None
Set the name of the load flow log file to strName. If no file path is specified then the file is created in the IPSA bin directory.
- Parameters:
strName (str) – The name of the load flow log file.
- IsLogging() bool
Checks whether a logging is in progress.
- Returns:
Returns True if logging is in progress.
- Return type:
- CloseAllDB() bool
Close all the databases.
- Returns:
Returns True if databases are closed.
- Return type:
- GetDBIndMachineNames(strFilename: str) List[str]
Returns all induction machine names in a database.
- GetDBCircuitBreakerNames(strFilename: str) List[str]
Returns all circuit breaker names in a database.
- GetReportType() int
The nReport type of the most recently generated report, matching those in e.g.,
IscNetwork.GetStudies(nReportType)().- Automation studies:
100 = All studies in the order run
101 = All solved studies in the order run
102 = All solved studies listed by severity of overload
103 = All solved studies listed by the number of items exceeding limits
104 = All studies that failed to solve
- Contingency studies:
120 = All studies in the order run
121 = All solved studies in the order run
122 = All solved studies listed by severity of overload
123 = All solved studies listed by the number of items exceeding limits
124 = All studies that failed to solve
Note this number only updates if a report has been generated from the IPSA UI.
- Returns:
The nReport type of the most recently generated report.
- Return type:
- GetUndoActive() bool
Returns a boolean determining whether Undo is currently active.
Note Undo will act on a complete PyIPSA script as a single action.
- Returns:
Returns True if Undo is active.
- Return type:
- SetUndoActive(bSetActive: bool)
Sets the boolean determining whether Undo is currently active.
This will determine the state of Undo following the completion of the script.
- Parameters:
bSetActive (bool) – True if undo should be active.
- GetOptimiseSaveFileSize() int
Returns a int determining how the save file will be adjusted for size:
ipsa.IscInterface.StandardSave = The save file is unoptimised
ipsa.IscInterface.OptimisedSave = The save file is optimised on save
ipsa.IscInterface.ReducedSave = The save file is further reduced (but will not open in IPSA 3.1.0 and earlier)
- Returns:
Returns the type for how the save file will be optimised
- Return type:
- SetOptimiseSaveFileSize(nSaveFileType: int)
Sets how the save file will be adjusted for size. nSaveFileType should be one of:
ipsa.IscInterface.StandardSave = The save file is unoptimised
ipsa.IscInterface.OptimisedSave = The save file is optimised on save
ipsa.IscInterface.ReducedSave = The save file is further reduced (but will not open in IPSA 3.1.0 and earlier)
- Parameters:
nSaveFileType (int) – The type for how the save file should be optimised
- GetFilterAreaScenariosOnSave() bool
Gets whether the scenarios in a network should be filtered when saving areas/regions.
Note: when saving areas/regions through PyIPSA, when this is True, only scenarios with either component or diagram changes associated with the area/region components will be saved.
- Returns:
True if the scenarios should be filtered on save.
- Return type:
- SetFilterAreaScenariosOnSave(bFilterScenarios: bool)
Sets whether the scenarios in a network should be filtered when saving areas/regions.
Note: when saving areas/regions through PyIPSA, when this is True, only scenarios with either component or diagram changes associated with the area/region components will be saved.
- Parameters:
bFilterScenarios (bool) – True if the scenarios should be filtered on save.
- HasPSSEIO() bool
Deprecated. Returns True if a PSSE analysis license is present.
- Returns:
Boolean denoting whether a PSSE analysis license is presented.
- Return type:
- GetIpsa1Mode() bool
Deprecated. Returns the IPSA 1 mode - note, this is currently not used anywhere so does nothing.
- Returns:
The boolean of the Ipsa1 mode.
- Return type:
- SetIpsa1Mode(bIpsa1) bool
Deprecated. Sets the IPSA 1 mode - note, this is currently not used anywhere so does nothing.
- Parameters:
bIpsa1 (bool) – The boolean of the Ipsa1 mode.
- WriteJsonFile(strName: str) bool
Deprecated. Saves the graphical information, name and UID for every component in the network as a json file. The file is saved in the current working directory unless the path is defined in the file name. The file name should include the .json extension
- WriteCSVItemFile(strName: str) bool
Deprecated. Saves the UID, component type and name for every component in the network as a csv file. The file is saved in the current working directory unless the path is defined in the file name. The file name should include the .csv extension
- ImportFromCIM(nVersion: int = 0, strExePath: str = '', strLogPath: str = '') int
Imports a CIM Network into IPSA. This will prompt the user for information as required and return a code to indicate whether the action was successful:
0 : The network has been imported successfully
1 : The specified standards version is not valid
2 : The cim2ipsa.exe cannot be found or is missing components
3 : The user temp directory has not been found
4 : An unknown python error has occurred
5 : The designated log folder has not been found or is inaccessible
6 : The log file was not found or is inaccessible
7 : The CIM files were not found
9 : The CIM import license is not active
- Parameters:
nVersion (int) – If 0, this will use the CGMES 3.0 standards, if 1 the GB-CIM standards will be used.
strExePath (str) – The path to the cim2ipsa.exe to be used. If left blank, IPSA will attempt to use the one associated with the active PyIPSA installation.
strLogPath (str) – The path to the directory where the log file should be generated. If left blank the log will only be generated in the users temp directory.
- Returns:
A return code specified above.
- Return type:
- ExportToCIM(nVersion: int = 0, strExePath: str = '', strLogPath: str = '') int
Exports an IPSA network to CIM. This will prompt the user for information as required and return a code to indicate whether the action was successful:
0 : The network has been exported successfully
1 : The specified standards version is not valid
2 : The cim2ipsa.exe cannot be found or is missing components
3 : The user temp directory has not been found
4 : An unknown python error has occurred
5 : The designated log folder has not been found or is inaccessible
6 : The log file was not found or is inaccessible
7 : The CIM files were not found
9 : The CIM export license is not active
- Parameters:
nVersion (int) – If 0, this will use the CGMES 3.0 standards, if 1 the GB-CIM standards will be used.
strExePath (str) – The path to the cim2ipsa.exe to be used. If left blank, IPSA will attempt to use the one associated with the active PyIPSA installation.
strLogPath (str) – The path to the directory where the log file should be generated. If left blank the log will only be generated in the users temp directory.
- Returns:
A return code specified above.
- Return type:
- GenerateMRIDs(nVersion: int = 0, strExePath: str = '', bForceSave: bool = True) int
Populates a mapping of generated mRIDs for CIM for objects that either currently do not have assigned mRIDs, or have no-longer-valid mRIDs assigned. Note: this requires a CIM export license. This will return one of the following codes to indicate whether the action was successful:
0 : The network has been imported successfully
1 : The specified standards version is not valid
2 : The cim2ipsa.exe cannot be found or is missing components
3 : The user temp directory has not been found
4 : An unknown python error has occurred
5 : The designated log folder has not been found or is inaccessible
6 : The log file was not found or is inaccessible
7 : The CIM files were not found
8 : Some aspect of the CIM differencing failed
9 : The CIM export license is not active
- Parameters:
nVersion (int) – If 0, this will use the CGMES 3.0 standards, if 1 the GB-CIM standards will be used.
strExePath (str) – The path to the cim2ipsa.exe to be used. If left blank, PyIPSA will attempt to use the one associated with the IPSA installation with the same version as itself.
bForceSave (bool) – If True, saves the current network before generating the mRIDs. Note this function will close and reopen the current IPSA file.
- Returns:
A return code specified above.
- Return type:
- GetAddedMRIDMap() Dict[int, Dict[str, str]]
Returns a mapping of all the newly generated mRIDs ready to be incorporated into the network.
Note, this requires the GenerateMRIDs function to be called first.
- GetChangedMRIDMap() Dict[int, Dict[str, str]]
Returns a mapping of all the modified mRIDs ready to be incorporated into the network.
Note, this requires the GenerateMRIDs function to be called first.
- GetmRIDGeneratorExceptions() set[int]
Returns a list of the UIDs of all the components that caused exceptions while attempting to generate mRIDs.
Note, this requires the GenerateMRIDs function to be called first.
- UpdateWithAddedMRIDs()
Updates the network to add all the missing mRIDs into the network - that is, it incorporate all the changes listed by the GetAddedMRIDMap.
Note, this requires the GenerateMRIDs function to be called first.
- UpdateWithChangedMRIDs()
Updates the network to add all the mRIDs necessary to modify into the network - that is, it incorporate all the changes listed by the GetChangedMRIDMap.
Note, this requires the GenerateMRIDs function to be called first.