Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
value can be a 2-column array added in steps.py
  • Loading branch information
AbhishekChaudharii committed Nov 29, 2023
commit 7c5995f1b6a42aa54bc5203ffcdd10a06fdd668f
7 changes: 6 additions & 1 deletion pybamm/step/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ def current(value, **kwargs):
Parameters
----------
value : float
The current value in A.
The current value in A.
Value can be a number, a 2-tuple (for cccv_ode), or a 2-column array (for drive cycles)
**kwargs
Any other keyword arguments are passed to the :class:`pybamm.step._Step`
class.
Expand All @@ -142,6 +143,7 @@ def c_rate(value, **kwargs):
----------
value : float
The C-rate value.
Value can be a number, a 2-tuple (for cccv_ode), or a 2-column array (for drive cycles)
**kwargs
Any other keyword arguments are passed to the :class:`pybamm.step._Step`
class.
Expand All @@ -163,6 +165,7 @@ def voltage(value, **kwargs):
----------
value : float
The voltage value in V.
Value can be a number, a 2-tuple (for cccv_ode), or a 2-column array (for drive cycles)
**kwargs
Any other keyword arguments are passed to the :class:`pybamm.step._Step`
class.
Expand All @@ -184,6 +187,7 @@ def power(value, **kwargs):
----------
value : float
The power value in W.
Value can be a number, a 2-tuple (for cccv_ode), or a 2-column array (for drive cycles)
**kwargs
Any other keyword arguments are passed to the :class:`pybamm.step._Step`
class.
Expand All @@ -205,6 +209,7 @@ def resistance(value, **kwargs):
----------
value : float
The resistance value in Ohm.
Value can be a number, a 2-tuple (for cccv_ode), or a 2-column array (for drive cycles)
**kwargs
Any other keyword arguments are passed to the :class:`pybamm.step._Step`
class.
Expand Down