Skip to content

Commit

Permalink
Add simbev_intro.rst, add simulation_settings.rst, correct writing of…
Browse files Browse the repository at this point in the history
… SimBEV #68
  • Loading branch information
alexkens committed Sep 20, 2023
1 parent 8e030c1 commit 134f76b
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 48 deletions.
2 changes: 1 addition & 1 deletion docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Getting started
:local:
:backlinks: top

Installing simBEV
Installing SimBEV
=================

Install using pip
Expand Down
12 changes: 2 additions & 10 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,12 @@
Welcome to SimBEV's documentation!
========================================

What is SimBEV?
---------------

Simbev stands for "Simulation of Battery Electric Vehicles". Simbev uses german mobility data to calculate expected
charging demand of electric vehicles in different regions and scenarios. The key features of Simbev are:

* Detailed modelling of driving profiles
* Stepwise simulation without using perfect foresight
* Calculating charging demand in a region split into 4 use cases

.. toctree::
:maxdepth: 2
:caption: Contents

simbev_intro
getting_started
usage_details
simulation_settings
features
9 changes: 9 additions & 0 deletions docs/source/simbev_intro.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
What is SimBEV?
---------------

SimBEV stands for "Simulation of Battery Electric Vehicles". SimBEV uses german mobility data to calculate expected
charging demand of electric vehicles in different regions and scenarios. The key features of SimBEV are:

* Detailed modelling of driving profiles
* Stepwise simulation without using perfect foresight
* Calculating charging demand in a region split into 4 use cases
173 changes: 173 additions & 0 deletions docs/source/simulation_settings.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
Simulation Settings
===================

Required Parameters for a minimal simulation
--------------------------------------------

Set parameters for your scenario
--------------------------------

Select regio-type for the mobility characteristics:

Rural regions:
* Kleinstädtischer, dörflicher Raum - LR_Klein
* Mittelstädte, städtischer Raum - LR_Mitte
* Zentrale Stadt - LR_Zentr
Urban regions:
* Kleinstädtischer, städtischer Raum - SR_Klein
* Mittelstädte, städtischer Raum - SR_Mitte
* Regiopolen, Großstädte - SR_Gross
* Metropole - SR_Metro

Change vehicle configuration
* battery capacity
* charging power (slow and fast)
* consumption

Decide how many vehicles should be simulated:

- note: more than 5000 vehicles of one type in one region is not necessary, if you want to analyze more, scale it accordingly


Additional Settings
-------------------

...

Basic Parameters
----------------

+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| keyword | example | description |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| input_type | probability | choose what kind of input is used for driving profiles (Options: probability or profile) |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| input_directory | data/probability | specify where the input data is located |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| eta_cp | 1 | efficiency of charging points |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| stepsize | 15 | step size of simulation (should stay at 15 min, best results) |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| start_date | 2021-09-17 | start and end date of simulation in format YYY-MM-DD |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| end_date | 2021-09-30 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| soc_min | 0.2 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| charging_threshold | 0.8 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| distance_threshold_extra_urban | 50 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| consumption_factor_highway | 1.2 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| dc_power_threshold | 50 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| threshold_retail_limitation | 21 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| threshold_street_night_limitation | 21 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| maximum_park_time_flag | False | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| maximum_park_time | 10 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| lower_maximum_park_time_street_night | 8 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| upper_maximum_park_time_street_night | 12 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| street_night_charging_flag | True | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| home_night_charging_flag | False | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| night_departure_standard_deviation | 1 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+
| night_departure_time | 9 | |
+--------------------------------------+------------------+------------------------------------------------------------------------------------------+

Output Parameters
-----------------

+----------------------------------+---------+--------------------------------------------------------------------------+
| keyword | example | description |
+----------------------------------+---------+--------------------------------------------------------------------------+
| vehicle_csv | true | decide if you want a output csv-file for each car simulated |
+----------------------------------+---------+--------------------------------------------------------------------------+
| rid_time_series_csv | true | ecide if you want a output csv-file for all cars per uc |
+----------------------------------+---------+--------------------------------------------------------------------------+
| plot_grid_time_series_split | false | decide if you want a plot png-file for each region simulated |
+----------------------------------+---------+--------------------------------------------------------------------------+
| plot_grid_time_series_collective | false | decide if you want a plot png-file for all regions simulated in one plot |
+----------------------------------+---------+--------------------------------------------------------------------------+
| analyze | false | |
+----------------------------------+---------+--------------------------------------------------------------------------+
| timing | false | |
+----------------------------------+---------+--------------------------------------------------------------------------+

Rampup_ev Parameters
--------------------

Number of every vehicle type per region.

+---------+-------------------+-----------------------+
| keyword | filename.datatype | description |
+---------+-------------------+-----------------------+
| rampup | regions.csv | Organized in a matrix |
+---------+-------------------+-----------------------+


Technical data Parameters
-------------------------

Technical data for the electrical vehicles.

+----------------+------------------------------+-------------+
| keyword | filename.datatype | description |
+----------------+------------------------------+-------------+
| tech_data | tech_data.csv | |
+----------------+------------------------------+-------------+
| | tech_data_by_probability.csv | |
+----------------+------------------------------+-------------+
| charging_curve | charging_curve.csv | |
+----------------+------------------------------+-------------+
| hpc_data | hpc_config.csv | |
+----------------+------------------------------+-------------+

User Data Parameters
--------------------

+-------------+-------------------+-------------+
| keyword | filename.datatype | description |
+-------------+-------------------+-------------+
| user_groups | user_groups.csv | |
+-------------+-------------------+-------------+

Charging Probability Parameters
-------------------------------

+-------------------+-------------------------------------+-------------------------------------------------------+
| keyword | filename.datatype | description |
+-------------------+-------------------------------------+-------------------------------------------------------+
| slow | harging_probability.csv | charging probabilities for all locations |
+-------------------+-------------------------------------+-------------------------------------------------------+
| fast | fast_charging_probability.csv | |
+-------------------+-------------------------------------+-------------------------------------------------------+
| use_case | charging_probability_by_usecase.csv | optional |
+-------------------+-------------------------------------+-------------------------------------------------------+
| home_work_private | home_work_private.csv | share of private charging at home/work, 1 equals 100% |
+-------------------+-------------------------------------+-------------------------------------------------------+
| energy_min | energy_min.csv | |
+-------------------+-------------------------------------+-------------------------------------------------------+

Simulation Parameters
---------------------

+------------------+---------+-------------+
| keyword | example | description |
+------------------+---------+-------------+
| scaling | 1 | |
+------------------+---------+-------------+
| num_threads | 4 | |
+------------------+---------+-------------+
| seed | 3 | |
+------------------+---------+-------------+
| private_only_run | false | |
+------------------+---------+-------------+
41 changes: 4 additions & 37 deletions docs/source/usage_details.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This section gives a quick overview, what you can do with SimBEV and how to use
General Concept
---------------

Simbev forecast charging demand for different e-cars for a pregiven time period. It does so by analysing the mobility in Germany
SimBEV forecast charging demand for different e-cars for a pre-given time period. It does so by analysing the mobility in Germany
data. This data is split into different region types:

Rural regions:
Expand All @@ -22,9 +22,9 @@ Urban regions:
The system is parameterized with the help of different input parameters such as battery capacity and charging power (slow and fast)
as well as the consumption of each car.

- It reads the data and creates simBEV object(s) (depends on the specified iterations).
- It reads the data and creates SimBEV object(s) (depends on the specified iterations).

- Every simBEV object gets setup.
- Every SimBEV object gets setup.

- For every region a new process is created and it iterates through all vehicles and generate their events and outputs.

Expand All @@ -46,15 +46,6 @@ With SimBEV, you can:

#. Application of different charging strategies with SpiceEV

Configuration possibilities
---------------------------
Each simulation must include the following parameters:

#. param1
#. param2



Get the data
------------

Expand All @@ -64,7 +55,7 @@ Create a scenario
-----------------

- You can use a default scenario or define a custom one in the directory `scenarios`
- Run simbev with the desired scenario:
- Run SimBEV with the desired scenario:

.. code:: bash
Expand Down Expand Up @@ -93,27 +84,3 @@ or
.. code:: bash
python -m simbev --repeat <number of iterations>
Set parameters for your scenario
--------------------------------

Select regio-type for the mobility characteristics:

Rural regions:
* Kleinstädtischer, dörflicher Raum - LR_Klein
* Mittelstädte, städtischer Raum - LR_Mitte
* Zentrale Stadt - LR_Zentr
Urban regions:
* Kleinstädtischer, städtischer Raum - SR_Klein
* Mittelstädte, städtischer Raum - SR_Mitte
* Regiopolen, Großstädte - SR_Gross
* Metropole - SR_Metro

Change vehicle configuration
* battery capacity
* charging power (slow and fast)
* consumption

Decide how many vehicles should be simulated:

- note: more than 5000 vehicles of one type in one region is not necessary, if you want to analyze more, scale it accordingly

0 comments on commit 134f76b

Please sign in to comment.