|
128 | 128 | ],
|
129 | 129 | "source": [
|
130 | 130 | "pa_lin = plant_analysis.MonteCarloAEP(project, reanal_products = ['merra2','era5'], time_resolution = 'M',\n",
|
131 |
| - " reg_temperature = False, reg_winddirection = False, reg_model = 'lin')\n", |
| 131 | + " reg_temperature = False, reg_wind_direction = False, reg_model = 'lin')\n", |
132 | 132 | "\n",
|
133 | 133 | "pa_gam = plant_analysis.MonteCarloAEP(project, reanal_products = ['merra2','era5'], time_resolution = 'H',\n",
|
134 |
| - " reg_temperature = False, reg_winddirection = False, reg_model = 'gam')\n", |
| 134 | + " reg_temperature = False, reg_wind_direction = False, reg_model = 'gam')\n", |
135 | 135 | "\n",
|
136 | 136 | "pa_gbm = plant_analysis.MonteCarloAEP(project, reanal_products = ['merra2','era5'], time_resolution = 'D', \n",
|
137 |
| - " reg_temperature = False, reg_winddirection = False, reg_model = 'gbm')\n", |
| 137 | + " reg_temperature = False, reg_wind_direction = False, reg_model = 'gbm')\n", |
138 | 138 | "\n",
|
139 | 139 | "pa_etr = plant_analysis.MonteCarloAEP(project, reanal_products = ['merra2','era5'], time_resolution = 'D',\n",
|
140 |
| - " reg_temperature = False, reg_winddirection = False, reg_model = 'etr')" |
| 140 | + " reg_temperature = False, reg_wind_direction = False, reg_model = 'etr')" |
141 | 141 | ]
|
142 | 142 | },
|
143 | 143 | {
|
|
368 | 368 | ],
|
369 | 369 | "source": [
|
370 | 370 | "# View the monthly data frame\n",
|
371 |
| - "pa_lin._aggregate.df.head()" |
| 371 | + "pa_lin.aggregate.df.head()" |
372 | 372 | ]
|
373 | 373 | },
|
374 | 374 | {
|
|
390 | 390 | "name": "stderr",
|
391 | 391 | "output_type": "stream",
|
392 | 392 | "text": [
|
393 |
| - "INFO:openoa.methods.plant_analysis:Running with parameters: {'uncertainty_meter': 0.005, 'uncertainty_losses': 0.05, 'uncertainty_loss_max': array([10., 20.]), 'uncertainty_windiness': array([10., 20.]), 'uncertainty_nan_energy': 0.01, 'num_sim': 1000, 'reanal_subset': ['merra2', 'era5']}\n", |
| 393 | + "INFO:openoa.methods.plant_analysis:Running with parameters: {'uncertainty_meter': 0.005, 'uncertainty_losses': 0.05, 'uncertainty_loss_max': array([10., 20.]), 'uncertainty_windiness': array([10., 20.]), 'uncertainty_nan_energy': 0.01, 'num_sim': 1000, 'reanalysis_subset': ['merra2', 'era5']}\n", |
394 | 394 | "100%|██████████| 1000/1000 [00:29<00:00, 33.89it/s]\n",
|
395 | 395 | "INFO:openoa.methods.plant_analysis:Run completed\n",
|
396 |
| - "INFO:openoa.methods.plant_analysis:Running with parameters: {'uncertainty_meter': 0.005, 'uncertainty_losses': 0.05, 'uncertainty_loss_max': array([10., 20.]), 'uncertainty_windiness': array([10., 20.]), 'uncertainty_nan_energy': 0.01, 'num_sim': 500, 'reanal_subset': ['merra2', 'era5']}\n", |
| 396 | + "INFO:openoa.methods.plant_analysis:Running with parameters: {'uncertainty_meter': 0.005, 'uncertainty_losses': 0.05, 'uncertainty_loss_max': array([10., 20.]), 'uncertainty_windiness': array([10., 20.]), 'uncertainty_nan_energy': 0.01, 'num_sim': 500, 'reanalysis_subset': ['merra2', 'era5']}\n", |
397 | 397 | " 0%| | 0/500 [00:00<?, ?it/s]"
|
398 | 398 | ]
|
399 | 399 | },
|
|
424 | 424 | "text": [
|
425 | 425 | "100%|██████████| 500/500 [05:00<00:00, 1.66it/s]\n",
|
426 | 426 | "INFO:openoa.methods.plant_analysis:Run completed\n",
|
427 |
| - "INFO:openoa.methods.plant_analysis:Running with parameters: {'uncertainty_meter': 0.005, 'uncertainty_losses': 0.05, 'uncertainty_loss_max': array([10., 20.]), 'uncertainty_windiness': array([10., 20.]), 'uncertainty_nan_energy': 0.01, 'num_sim': 500, 'reanal_subset': ['merra2', 'era5']}\n", |
| 427 | + "INFO:openoa.methods.plant_analysis:Running with parameters: {'uncertainty_meter': 0.005, 'uncertainty_losses': 0.05, 'uncertainty_loss_max': array([10., 20.]), 'uncertainty_windiness': array([10., 20.]), 'uncertainty_nan_energy': 0.01, 'num_sim': 500, 'reanalysis_subset': ['merra2', 'era5']}\n", |
428 | 428 | " 0%| | 0/500 [00:00<?, ?it/s]"
|
429 | 429 | ]
|
430 | 430 | },
|
|
455 | 455 | "text": [
|
456 | 456 | "100%|██████████| 500/500 [04:09<00:00, 2.01it/s]\n",
|
457 | 457 | "INFO:openoa.methods.plant_analysis:Run completed\n",
|
458 |
| - "INFO:openoa.methods.plant_analysis:Running with parameters: {'uncertainty_meter': 0.005, 'uncertainty_losses': 0.05, 'uncertainty_loss_max': array([10., 20.]), 'uncertainty_windiness': array([10., 20.]), 'uncertainty_nan_energy': 0.01, 'num_sim': 500, 'reanal_subset': ['merra2', 'era5']}\n", |
| 458 | + "INFO:openoa.methods.plant_analysis:Running with parameters: {'uncertainty_meter': 0.005, 'uncertainty_losses': 0.05, 'uncertainty_loss_max': array([10., 20.]), 'uncertainty_windiness': array([10., 20.]), 'uncertainty_nan_energy': 0.01, 'num_sim': 500, 'reanalysis_subset': ['merra2', 'era5']}\n", |
459 | 459 | " 0%| | 0/500 [00:00<?, ?it/s]"
|
460 | 460 | ]
|
461 | 461 | },
|
|
621 | 621 | "metadata": {},
|
622 | 622 | "source": [
|
623 | 623 | "The augmented capabilities of the AEP class now allow the user to include temperature and/or wind direction as additional inputs to the long-term OA. \n",
|
624 |
| - "This choice is controlled by the booleans \"reg_temperature\" and \"reg_winddirection\".\n", |
| 624 | + "This choice is controlled by the booleans \"reg_temperature\" and \"reg_wind_direction\".\n", |
625 | 625 | "In this example, we will compute AEP using a multivariate hourly GAM regression, including wind speed and temperature as inputs, and compare the results with the univariate GAM applied in the previous comparison."
|
626 | 626 | ]
|
627 | 627 | },
|
|
640 | 640 | ],
|
641 | 641 | "source": [
|
642 | 642 | "pa_gam_T = plant_analysis.MonteCarloAEP(project, reanal_products = ['merra2','era5'], time_resolution = 'H',\n",
|
643 |
| - " reg_temperature = True, reg_winddirection = False, reg_model = 'gam')" |
| 643 | + " reg_temperature = True, reg_wind_direction = False, reg_model = 'gam')" |
644 | 644 | ]
|
645 | 645 | },
|
646 | 646 | {
|
|
659 | 659 | "name": "stderr",
|
660 | 660 | "output_type": "stream",
|
661 | 661 | "text": [
|
662 |
| - "INFO:openoa.methods.plant_analysis:Running with parameters: {'uncertainty_meter': 0.005, 'uncertainty_losses': 0.05, 'uncertainty_loss_max': array([10., 20.]), 'uncertainty_windiness': array([10., 20.]), 'uncertainty_nan_energy': 0.01, 'num_sim': 500, 'reanal_subset': ['merra2', 'era5']}\n", |
| 662 | + "INFO:openoa.methods.plant_analysis:Running with parameters: {'uncertainty_meter': 0.005, 'uncertainty_losses': 0.05, 'uncertainty_loss_max': array([10., 20.]), 'uncertainty_windiness': array([10., 20.]), 'uncertainty_nan_energy': 0.01, 'num_sim': 500, 'reanalysis_subset': ['merra2', 'era5']}\n", |
663 | 663 | " 0%| | 0/500 [00:00<?, ?it/s]"
|
664 | 664 | ]
|
665 | 665 | },
|
|
0 commit comments