Skip to content

Commit

Permalink
fixing doctests for pyomo 6.7.1 (#1310)
Browse files Browse the repository at this point in the history
  • Loading branch information
bknueven authored Feb 26, 2024
1 parent 43eca89 commit a3eb077
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/how_to_guides/how_to_use_MCAS_property_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ A portion of the displayed output is shown below.
Key : Lower : Value : Upper : Fixed : Stale : Domain
None : 100000.0 : 5000000.0 : None : True : True : NonNegativeReals
flow_mol_phase_comp : Component molar flow rate
Size=3, Index=fs.state_block[0].flow_mol_phase_comp_index, Units=mol/s
Size=3, Index=fs.properties.phase_list*fs.properties.component_list, Units=mol/s
Key : Lower : Value : Upper : Fixed : Stale : Domain
('Liq', 'Cl_-') : 0 : 0.483 : None : True : True : NonNegativeReals
('Liq', 'H2O') : 0 : 53.8 : None : True : True : NonNegativeReals
('Liq', 'Na_+') : 0 : 0.483 : None : True : True : NonNegativeReals
flow_mass_phase_comp : Component Mass flowrate
Size=3, Index=fs.state_block[0].flow_mass_phase_comp_index, Units=kg/s
Size=3, Index=fs.properties.phase_list*fs.properties.component_list, Units=kg/s
Key : Lower : Value : Upper : Fixed : Stale : Domain
('Liq', 'Cl_-') : 0 : 0.016905 : None : False : False : Reals
('Liq', 'H2O') : 0 : 0.9683999999999999 : None : False : False : Reals
Expand Down Expand Up @@ -157,4 +157,4 @@ Output similar to what is shown below will appear to notify the user whether an

.. testoutput::

Cl_- adjusted: fs.state_block[0].flow_mass_phase_comp['Liq',Cl_-] was adjusted from 0.0169 and fixed to 0.01689130427193779. Electroneutrality satisfied for fs.state_block[0]. Balance Result = 0.0
Cl_- adjusted: fs.state_block[0].flow_mass_phase_comp['Liq',Cl_-] was adjusted from 0.0169 and fixed to 0.01689130427193779. Electroneutrality satisfied for fs.state_block[0]. Balance Result = 0.0
2 changes: 1 addition & 1 deletion docs/how_to_guides/how_to_use_a_property_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ A portion of the displayed output is shown below.

Variables:
flow_mass_phase_comp : Mass flow rate
Size=2, Index=fs.state_block[0].flow_mass_phase_comp_index, Units=kg/s
Size=2, Index=fs.properties.phase_list*fs.properties.component_list, Units=kg/s
Key : Lower : Value : Upper : Fixed : Stale : Domain
('Liq', 'H2O') : 0.0 : 0.965 : None : True : True : NonNegativeReals
('Liq', 'NaCl') : 0.0 : 0.035 : None : True : True : NonNegativeReals
Expand Down

0 comments on commit a3eb077

Please sign in to comment.