Last updated on Sep 04, 2024.

netsse.base.Network.add_platform#

netsse.base.Network.add_platform(*args, ignore_msg: bool = False)#

Add a Platform instance to the list of platforms in the network.

Parameters:
  • *args (Platform object) – Platform to be added to the network.

  • ignore_msg (bool, default False) – If False, messages are printed to inform about any changes made to the network. If True, thoses messages are turned off.

Example

>>> plaform2 = netsse.base.Platform()
>>> network.add_platform(platform2,ignore_msg=True)