Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cvxgrp/cvxpower
/ functions
Functions
64 in github.com/cvxgrp/cvxpower
⨍
Functions
64
◇
Types & classes
19
↓ 13 callers
Method
init_problem
Initialize the network optimization problem. :param time_horizon: The time horizon :math:`T` to optimize over. :param num_scenarios:
cvxpower/network.py:181
↓ 6 callers
Method
__init__
( self, discharge_max=0, charge_max=None, energy_init=0, energy_final=
cvxpower/devices.py:437
↓ 6 callers
Method
optimize
(self, time_horizon=1, num_scenarios=1, **kwargs)
cvxpower/network.py:194
↓ 4 callers
Method
summary
Summary of results. Only works for single period optimization. :rtype: str
cvxpower/network.py:277
↓ 3 callers
Method
_init_problem
(self, time_horizon, num_scenarios)
cvxpower/network.py:86
↓ 1 callers
Method
__add__
(self, other)
cvxpower/network.py:258
↓ 1 callers
Method
__init__
(self, terminals, name=None)
cvxpower/network.py:82
↓ 1 callers
Function
_get_all_terminals
Gets all terminals, including those nested within child devices.
cvxpower/network.py:37
↓ 1 callers
Method
_init_problem
(self, time_horizon, num_scenarios)
cvxpower/network.py:167
↓ 1 callers
Method
_set_payments
(self)
cvxpower/network.py:94
↓ 1 callers
Function
_update_mpc_results
(t, time_steps, results_t, results_mpc)
cvxpower/network.py:348
Method
__init__
(self, no_load_cost=0, bid_curve=[], name=None)
examples/gen_bid_curve.py:18
Method
__init__
(self, terminals, name=None)
cvxpower/network.py:133
Method
__init__
(self, devices, nets, terminals=[], name=None)
cvxpower/network.py:217
Method
__init__
(self, power=None, payments=None, price=None, status=None)
cvxpower/network.py:249
Method
__init__
( self, power_min=None, power_max=None, ramp_min=None, ramp_max=None,
cvxpower/devices.py:91
Method
__init__
(self, power=None, name=None)
cvxpower/devices.py:151
Method
__init__
( self, temp_init=None, temp_min=None, temp_max=None, temp_amb=None,
cvxpower/devices.py:212
Method
__init__
(self, power=None, alpha=None, name=None)
cvxpower/devices.py:289
Method
__init__
( self, energy=0, power_max=None, time_start=0, time_end=None,
cvxpower/devices.py:328
Method
__init__
(self, alpha=0.0, power_max=None, name=None)
cvxpower/devices.py:378
Method
__radd__
(self, other)
cvxpower/network.py:255
Method
__repr__
(self)
cvxpower/network.py:274
Method
__str__
(self)
cvxpower/network.py:271
Method
_init_problem
(self, time_horizon, num_scenarios)
cvxpower/network.py:60
Method
_init_problem
(self, time_horizon, num_scenarios)
cvxpower/network.py:230
Method
_set_payments
(self, price)
cvxpower/network.py:63
Method
constraints
Device constraints, to be overriden by subclasses. :rtype: list of cvxpy constraints
cvxpower/network.py:147
Method
constraints
(self)
cvxpower/devices.py:121
Method
constraints
(self)
cvxpower/devices.py:156
Method
constraints
(self)
cvxpower/devices.py:235
Method
constraints
(self)
cvxpower/devices.py:345
Method
constraints
(self)
cvxpower/devices.py:385
Method
constraints
(self)
cvxpower/devices.py:474
Method
cost
(self)
examples/gen_bid_curve.py:24
Method
cost
Device objective, to be overriden by subclasses. :rtype: cvxpy expression of size :math:`T \times K`
cvxpower/network.py:139
Method
cost
(self)
cvxpower/devices.py:116
Method
cost
(self)
cvxpower/devices.py:295
Method
cost
(self)
cvxpower/devices.py:459
Method
plot
Plot results.
cvxpower/network.py:322
Method
power
Power consumed (positive value) or produced (negative value) at this terminal.
cvxpower/network.py:55
Method
power_var
(self)
cvxpower/network.py:51
Method
price
Price associated with this net.
cvxpower/network.py:103
Method
results
(self)
cvxpower/network.py:99
Method
results
Network optimization results. :rtype: :class:`Results`
cvxpower/network.py:155
Method
results
(self)
cvxpower/network.py:223
Function
run_mpc
Execute model predictive control. This method executes the model predictive control loop, roughly: .. code:: python for t in time_ste
cvxpower/network.py:363
Method
test_curtailable_load
(self)
cvxpower/devices_test.py:49
Method
test_deferrable_load
(self)
cvxpower/devices_test.py:227
Method
test_deferrable_load
(self)
cvxpower/devices_test.py:293
Method
test_dynamic_load
(self)
cvxpower/devices_test.py:205
Method
test_dynamic_load
(self)
cvxpower/devices_test.py:269
Method
test_group
(self)
cvxpower/devices_test.py:121
Method
test_hello_world
(self)
cvxpower/devices_test.py:37
Method
test_optimize
(self)
cvxpower/network_test.py:56
Method
test_storage
(self)
cvxpower/devices_test.py:217
Method
test_storage
(self)
cvxpower/devices_test.py:283
Method
test_summary_infeasible
(self)
cvxpower/network_test.py:45
Method
test_summary_normal
(self)
cvxpower/network_test.py:36
Method
test_thermal_load
(self)
cvxpower/devices_test.py:237
Method
test_thermal_load
(self)
cvxpower/devices_test.py:303
Method
test_three_buses
(self)
cvxpower/devices_test.py:81
Method
test_two_generators_with_transmission
(self)
cvxpower/devices_test.py:60
Method
test_vary_parameters
(self)
cvxpower/devices_test.py:140