Skip to content
This repository was archived by the owner on Jun 14, 2022. It is now read-only.
This repository was archived by the owner on Jun 14, 2022. It is now read-only.

State construction branches incorrectly for unorthodoxly specified states #25

@prehner

Description

@prehner

In this example, the state is calculated using N=1 and the given volume instead of calculating the moles from a density iteration.

T = 25*CELSIUS
V = (100*ANGSTROM)**3
p = BAR
z = 3e-4
State(func, T, pressure=p, molefracs=np.array([1-z,z]), volume=V).pressure()
>>> 3.9624kPa

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions