diff --git a/docs/source/examples/capacity_expansion_tutorial.ipynb b/docs/source/examples/capacity_expansion_tutorial.ipynb index bdfebda..341b26c 100644 --- a/docs/source/examples/capacity_expansion_tutorial.ipynb +++ b/docs/source/examples/capacity_expansion_tutorial.ipynb @@ -96,7 +96,7 @@ "phase_shift = 0 # horizontal shift [radians]\n", "base_shift = 2 # vertical shift [units of demand]\n", "hours = np.linspace(0,N,N)\n", - "total_demand = 185 # [MW], sets the total demand [units of energy]\n", + "total_demand = 185 # [MWh], sets the total demand [units of energy]\n", "\n", "demand = (np.sin((hours*np.pi/n_hours*2+phase_shift))*-1+np.ones(N)*(base_shift+1))\n", "\n", @@ -405,7 +405,7 @@ "\n", "model = DispatchModel(technology_list=technologies,\n", " net_demand=demand)\n", - "model.solve(solver='cbc')" + "model.solve(solver=solver)" ] }, { @@ -599,7 +599,7 @@ "\n", "model = DispatchModel(technology_list=[technologies[1]],\n", " net_demand=net_dem)\n", - "model.solve(solver='cbc')" + "model.solve(solver=solver)" ] }, { diff --git a/docs/source/examples/dispatch_tutorial.ipynb b/docs/source/examples/dispatch_tutorial.ipynb index 7d74e9d..3d7070e 100644 --- a/docs/source/examples/dispatch_tutorial.ipynb +++ b/docs/source/examples/dispatch_tutorial.ipynb @@ -248,7 +248,7 @@ } ], "source": [ - "total_demand = 185 # [MW], sets the total demand [units of energy]\n", + "total_demand = 185 # [MWh], sets the total demand [units of energy]\n", "demand = (np.sin((hours*np.pi/n_hours*2+phase_shift))*-1+np.ones(N)*(base_shift+1))\n", "\n", "np.random.seed(1234) # sets the seed for repeatability\n",