test_interface

Module that contains the tests for the DWSIM-Python interface

Module

test_interface.py

Author

Lucas F. Santos <lfs.francisco.95@gmail.com>

class dwsimopt.tests.test_interface.TestDWSIM_Interface(methodName='runTest')

Bases: unittest.case.TestCase

Class that contains the tests for the DWSIM-Python interface

Args:

unittest (): Standard python module for unit testting code.

test_SimOpt_instantiation()

SimulationOptimziation class instantiation test.

test_addRef2DWSIM()

DWSIM dlls reference adding test.

test_connectDWSIM_simulation()

DWSIM connection test.

test_sim_opt

Module that contains the tests for the SimulationOptimization utilization for calculating the DWSIM flowsheet

Module

test_sim_opt.py

Author

Lucas F. Santos <lfs.francisco.95@gmail.com>

class dwsimopt.tests.test_sim_opt.TestSimOpt(methodName='runTest')

Bases: unittest.case.TestCase

Class that contains the tests for the SimulationOptimization utilization for calculating the DWSIM flowsheet.

Args:

unittest (): Standard python module for unit testting code.

test_SimOpt_reproductibility()

Test for the DWSIM flowsheet calculation via Python interface and reproductibility.

test_py2dwsim

Module that contains the tests for the python-dwsim data exchange interface in py2dwsim.py

Module

tests_py2dwisim.py

Author

Lucas F. Santos <lfs.francisco.95@gmail.com>

class dwsimopt.tests.test_py2dwsim.TestSimOpt(methodName='runTest')

Bases: unittest.case.TestCase

Class that contains the tests for the Python-DWSIM data exchange interface

Args:

unittest (): Standard python module for unit testting code.

test_SimOpt_py2dwsim()

Test for the DWSIM flowsheet calculation via Python interface and reproductibility using py2dwsim interface.

test_solve_sim_opt

Module that contains the tests for the OptimiSim utilization for calculating the DWSIM flowsheet

Module

test_solve_sim_opt.py

Author

Lucas F. Santos <lfs.francisco.95@gmail.com>

class dwsimopt.tests.test_solve_sim_opt.TestOptimiSim(methodName='runTest')

Bases: unittest.case.TestCase

Class that contains the tests for the OptimiSim utilization for calculating the DWSIM flowsheet.

Args:

unittest (): Standard python module for unit testting code.

test_OptimiSim_PSO()

Test for the DWSIM flowsheet optimization using Particle Swarm Optimization from OptimiSim.

test_OptimiSim_reproductibility()

Test for the DWSIM flowsheet calculation via Python interface and reproductibility using the OptimiSim.