matsim-org / matsim-code-examples

A repository containing code examples around MATSim
GNU General Public License v3.0
84 stars 179 forks source link

Matsim Consumptions Ohde Slaski #536

Open NofTheGreek opened 3 years ago

NofTheGreek commented 3 years ago

Hi, how can I use the Ohde Slaski consumption module? I mean , how can i bind it to in order to get the consumptions calculated according to Ohde-Slaski? Is there any project that uses Ohde-Slaski that i can look at? Thank you in advance

michalmac commented 3 years ago

Ohde-Slaski energy consumption model is the default model for driving and AUX energy consumption. See: https://github.com/matsim-org/matsim-libs/blob/4132f189aa518d04d608f197ec486251a4282f53/contribs/ev/src/main/java/org/matsim/contrib/ev/discharging/DischargingModule.java#L34-L36 and: https://github.com/matsim-org/matsim-libs/blob/4132f189aa518d04d608f197ec486251a4282f53/contribs/ev/src/main/java/org/matsim/contrib/ev/EvModule.java#L37

Despite the model being quite general, it is currently parametrised specifically for the Nissan Leaf.

michalmac commented 3 years ago

how can I use the Ohde Slaski consumption module? I mean , how can i bind it to in order to get the consumptions calculated according to Ohde-Slaski?

Just install/add EvModule.