Skip to content

Commit

Permalink
Add psat quantile to session and update docs (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
msilvafe authored Jul 10, 2024
1 parent 975ba37 commit adae43f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions socs/agents/pysmurf_controller/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,7 @@ def take_iv(self, session, params):
'filepath': Filepath of saved IVAnalysis object
'quantiles': {
'Rn': Rn quantiles
'p_sat': electrical power at 90% Rn quantiles
}
}
"""
Expand Down
3 changes: 2 additions & 1 deletion socs/agents/pysmurf_controller/smurf_subprocess_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ def take_iv(iv_kwargs=None):
return {
'filepath': iva.filepath,
'quantiles': {
'Rn': compute_quantiles('Rn', iva.R_n, quantiles)
'Rn': compute_quantiles('Rn', iva.R_n, quantiles),
'p_sat': compute_quantiles('p_sat', iva.p_sat, quantiles)
}
}

Expand Down

0 comments on commit adae43f

Please sign in to comment.