PSRCluster#
- class ansys.chemkin.core.stirreactors.PSRcluster.PSRCluster(config: list[ansys.chemkin.core.stirreactors.PSR.PerfectlyStirredReactor], label: str | None = None)#
Bases:
ansys.chemkin.core.stirreactors.openreactor.OpenReactorA cluster of perfectly-stirred reactors.
Overview#
Get the number of external inlet to a reactor. |
|
Get the PSR name/label. |
|
Set outflowing stream connectivity of a reactor. |
|
Add outflow recycling connectivity keywords. |
|
Add heat exchange connection between two reactors. |
|
Add heat exchange connectivity keywords. |
|
Run the reactor network simulation. |
|
Get cluster run status. |
|
Get the solution Stream object. |
|
Get post-process status. |
|
Post-process cluster solution. |
|
Get the net/total outlet mass flow rate. |
Get the number of PSR. |
|
Get the total number of external inlet to the network. |
|
Get the total external inlet mass flow rate to the network. |
Import detail#
from ansys.chemkin.core.stirreactors.PSRcluster import PSRCluster
Property detail#
- property PSRCluster.numb_psrs: int#
Get the number of PSR.
- property PSRCluster.total_numb_external_inlets: int#
Get the total number of external inlet to the network.
- property PSRCluster.total_inlet_mass_flow_rate: float#
Get the total external inlet mass flow rate to the network.
Attribute detail#
- PSRCluster.total_external_inlets = 0#
- PSRCluster.total_mass_flow_rate = 0.0#
- PSRCluster.npsrs = 0#
- PSRCluster.psr_map: dict[str, int]#
- PSRCluster.psr_objects: dict[int, ansys.chemkin.core.stirreactors.PSR.PerfectlyStirredReactor]#
- PSRCluster.psr_solutions: dict[int, ansys.chemkin.core.inlet.Stream]#
- PSRCluster.numb_recycling_streams = 0#
- PSRCluster.recycling_connections: dict[int, list[tuple[str, float]]]#
- PSRCluster.cluster_run_status = -100#
- PSRCluster.outlet_mass_flow_rate = 0.0#
- PSRCluster.numb_heat_exchange_pairs = 0#
- PSRCluster.heat_exchange_pair: list[tuple[int, int]] = []#
- PSRCluster.heat_exchange_coeffcients: list[float] = []#
- PSRCluster.heat_exchange_areas: list[float] = []#
Method detail#
- PSRCluster.numb_external_inlet(name: str) int#
Get the number of external inlet to a reactor.
- PSRCluster.get_reactor_label(reactor_index: int) str#
Get the PSR name/label.
- PSRCluster.set_recycling_stream(source_psr: str, connections: list[tuple[str, float]])#
Set outflowing stream connectivity of a reactor.
- PSRCluster.set_recycling_keywords()#
Add outflow recycling connectivity keywords.
- PSRCluster.add_heat_exchange(reactor1: str, reactor2: str, heat_transfer_coeff: float, heat_transfer_area: float)#
Add heat exchange connection between two reactors.
- PSRCluster.set_heat_exchange_keywords()#
Add heat exchange connectivity keywords.
- PSRCluster.run() int#
Run the reactor network simulation.
- PSRCluster.get_cluster_run_status() int#
Get cluster run status.
- PSRCluster.get_reactor_stream(reactor_name: str) ansys.chemkin.core.inlet.Stream#
Get the solution Stream object.
- PSRCluster.get_cluster_solutionstatus() bool#
Get post-process status.
- PSRCluster.process_cluster_solution() int#
Post-process cluster solution.
- PSRCluster.get_cluster_outlet_flowrate() float#
Get the net/total outlet mass flow rate.