Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DriCy Selo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Alfons Schlüter
DriCy Selo
Commits
7044867f
Commit
7044867f
authored
2 years ago
by
Michael Alfons Schlüter
Browse files
Options
Downloads
Patches
Plain Diff
New Readme and some changes to setup.py
parent
74a5ec8d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+95
-1
95 additions, 1 deletion
README.md
setup.py
+3
-1
3 additions, 1 deletion
setup.py
with
98 additions
and
2 deletions
README.md
+
95
−
1
View file @
7044867f
# drive_cycle module
# DriCy_Selo module
Created on Thu Mar 4 08:53:28 2021
@author: Michael Schlüter
> Technische Universität Berlin
> [https://www.pe.tu-berlin.de/](https://www.pe.tu-berlin.de/)
> [m.schlueter@tu-berlin.de](mailto:m.schlueter@tu-berlin.de)
### _class_ DriCy_Selo.Config()
Bases:
`object`
#### \__init__()
### DriCy_Selo.IGBT_losses(vehicle, f, time, B0wf, B1wf, B2wf, i_d, i_q)
Calculation of IGBT losses: Conduction losses of IGBT and diode;
Switching losses based on Eon and Eoff depenting on Ron and Roff;
reverse recovery losses of diode
### DriCy_Selo.MOSFET_losses(vehicle, f, time, B0wf, B1wf, B2wf, i_d, i_q)
Calculate the MOSFET losses:
Conduction losses including parallel conduction of MOSFET channel and body diode in reverese conduction;
dead/blanking time conduction losses of diodes;
switching losses bases on Eon and Eoff including Gate ON and OFF resistors;
Reverse recovery losses of body diode
### DriCy_Selo.acceleration_resistance(a, vehicle)
This function calculates the acceleration resistance acording to:
F_{A} = a
\\
cdot (M_{w}
\\
cdot
\\
lambda + M_{z})
### DriCy_Selo.aerodynamic_resistance(vehicle, v)
This function calculates the aerodynamic resistance acording to:
F_{L} = c_{w}
\\
cdot A_{front}
\\
cdot
\\
frac{p_{air}}{2}
\\
cdot v^2
### DriCy_Selo.calc_PMSM(vehicle, T, n, verbose=False)
Calculation of the inverter set point for a given vehicle, tourque and speed of a permanent magnet synchronos motor (PMSM).
ToDo: speed up -> add complete numerical calculation
### DriCy_Selo.calc_SVPWM(vd, vq, n, vehicle)
Calculation of the Space Vetor Pulse Width Modulation (SVPWM) for the inverter.
### DriCy_Selo.calc_con(vehicle, qns, qTs)
### DriCy_Selo.dq0_to_abc(d, q, wt, z=0, delta=0)
Inverse Park transform
### DriCy_Selo.f(question)
Answer to the Ultimate Question of Life, the Universe, and Everything.
tbd: Find the inverse function…
### DriCy_Selo.plot_PMSM(vehicle, T, n)
Plot the PMSM set point in the dq-current plane.
### DriCy_Selo.read_csv(file)
Read csv export from automeris.io
Column Separator: comma [,]
decimal separator: dot[.]
### DriCy_Selo.read_drive_cycle(file, vehicle)
This fuction reads the drive cycle of the cycle folder and calculates acceloration, total force, power, rouns per second, torque…:
\\
omega_{1/s} =
\\
frac{v_{
\\
mathrm{m/s}}}{wheel_{radius}
\\
cdot 2
\\
pi}
\\
cdot i_{g}
T =
\\
frac{Force
\\
cdot wheel_{radius}}{i_{g}}
\\
cdot
\\
eta_{i_{g}}
\\
;
\\
mathrm{for
\\
; M => 0}
T =
\\
frac{Force
\\
cdot wheel_{radius}}{i_{g}}
\\
cdot
\\
frac{1}{
\\
eta_{i_{g}}}
\\
;
\\
mathrm{for
\\
; M < 0}
### DriCy_Selo.read_toml(file)
This function loads the data of the vehicle.
### DriCy_Selo.rolling_fiction(vehicle, v, alpha)
This function calculates the rolling friction acording to Mitschke, Wallentowitz 2014 - Dynamik der Kraftfahzeuge p. 14.:
F_{R} = (M_{w} + M_{z})
\\
cdot g
\\
cdot cos(
\\
alpha)
\\
cdot
\\
left( f_{R0} + f_{R1}
\\
cdot
\\
frac{v}{100 km/h} + f_{R4}
\\
cdot {
\\
left(
\\
frac{v}{100 km/h}
\\
right)}^4
\\
right)
### DriCy_Selo.slope_resistance(vehicle, alpha)
This function calculates the slope resistance acording to:
F_{S} = sin (
\\
alpha)
\\
cdot (M_{w} + M_{z})
\\
cdot g
### DriCy_Selo.total_force(vehicle, a, v, alpha)
This function calculates the total force for a vehicle in one operation point:
F_{Total} = F_{S} + F_{A} + F_{L} + F_{R}
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
1
View file @
7044867f
...
...
@@ -17,7 +17,9 @@ setup(
'
toml
'
,
'
numpy
'
,
'
matplotlib
'
,
'
pathlib
'
,
'
scipy
'
,
'
sympy
'
,
'
pyfiglet
'
,
'
scipy
'
,
'
sympy
'
,
'
pyfiglet
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment