wiki:R scripts

Version 14 (modified by cedric, 7 years ago) (diff)

--

back to first page..

R scripts to run devalpomi

load turbine database

Turbine mortality calculation are in :
source:/devalpomi/R/tableau_mortalite.R
source:/devalpomi/R/tableau_mortalite_bretagne.R

The script is self explaining, follow the steps :

  • The file is in google sheet, download to pdata
  • Load the database (as an excel sheet)
  • Load complementary attributes (coming from ROE (geom) and rht). This is done in sql before running the rest of the script
  • Calculate supplementary assumptions (e.g. 4 blades when none are provided...)
  • Run turbine models for smolts and eel
  • Save the result as two tables : one corresponding to turbines, one corresponding to dams.

current tickets ticket #104 #102

run script to integrate mortality at the basin scale