Johannes.
I control things that move —
in system theory, proven in the real world.
Vehicle systems engineer and PhD in control & cyber-physical systems. Tech lead at Volkswagen, currently on assignment in Irvine, California — writing the control software that decides where the heat goes in a car.
batteries · control loops
a cleaner tomorrow ☺ somewhere between
research and real roads ↗
Four stops on the car
Controls & optimization
Real-time mixed-integer MPC that picks both the valve positions and the power levels.
Thermal & energy systems
Heat pumps, refrigerant circuits, battery and cabin climate — where range is won or lost in winter.
Embedded software
Production C code for climate control units — from function design through calibration to vehicle tests.
Research & patents
A dissertation, journal manuscripts and seven patent applications in vehicle thermal management.
The mode optimization strategy
Need to optimize a mode-dependent mixed-integer problem, in real time? Use the mode optimization strategy.
An electric car's coolant circuit has switching valves. Each valve combination creates a different operating mode: the battery can share a loop with the motor, get its own heater, or sit next to the heat pump's chiller. Pumps, heaters and the chiller are then set continuously within that mode.
Deciding both at once — which mode, and how much power — is a mixed-integer nonlinear program. Solved directly, it is far too slow for a car's control unit. The mode optimization strategy splits it instead:
- Fix the mode, drop the integers.
For every operating mode the valves are known, so the model becomes a smooth, mode-specific system that a standard NLP solver handles quickly.
- Chain modes in a recursion tree.
Each tree level covers a slice of the prediction horizon. The end state of one mode's solution becomes the start state of the next, so every branch is a candidate mode sequence.
- Pick the cheapest branch, repeat.
The branch with the lowest energy cost wins. Its first move is applied, the horizon shifts, and the tree is rebuilt — model predictive control.
Try the three operating modes
The recursion tree — one NLP per node
A problem inside a problem
The trick is nesting. An outer problem only decides which modes run in which order. For every candidate order, inner problems — one per mode — find the best continuous controls. The end state of each inner problem hands over to the next one, which is what makes the whole thing recursive.
Minimise the thermal system's electric energy while respecting component limits (soft constraints via slack \(\varepsilon\)). The valve positions \(v_k\) are integers — that is what makes the problem hard, and slow.
A finite choice: with three modes and \(\mathcal L\) tree levels there are \(3^{\mathcal L}\) sequences. Tap a mode below to build one.
With the mode \(\mathfrak o\) fixed, the valves disappear from the model. What's left is a smooth NLP that interior-point solvers handle fast.
\(\Omega\) returns the optimal end state of one inner problem. \(\Psi^{\ell}\) feeds it into the next level, so each level starts exactly where the previous mode left the battery and drivetrain.
Nodes on the same level don't depend on each other, so they can be solved in parallel. The tree is rebuilt at every MPC step with fresh measurements — that's how the strategy stays real-time on a test vehicle.
What the mode strategy brings to the table
Nonlinear, non-convex — handled
The full problem is highly nonlinear and non-convex. But if it is convex within each mode, every inner NLP returns its global optimum — and comparing mode sequences returns the best sequence overall.
A way through NP-hard territory
Mixed-integer nonlinear programs are NP-hard in general. The strategy confines the combinatorial part to a small, finite tree of modes, so its size is set by you through the number of levels — not by the length of the horizon.
Each part gets its best solver
The continuous physics and the discrete mode choice are solved separately — the NLPs with interior-point methods, the integer decision with a dedicated combinatorial search. Each solver can be tuned for exactly one kind of problem.
Memoization: solve once, reuse
Identical subproblems — same mode, same start state — are solved once and looked up afterwards. Combined with warm starts from the previous MPC step, re-planning gets cheaper every cycle.
Parallel by construction
Nodes on the same tree level are independent, so they can run side by side on multi-core control hardware.
Physically exact per mode
No relaxed valve positions like "half open": every candidate the optimizer evaluates is a real, drivable configuration of the circuit, which keeps the models honest and the results easy to check.
Relaxation-based methods such as combinatorial integral approximation (CIA) are a strong family of tools; in wind-tunnel tests at −7 °C both reached similar energy savings over a rule-based strategy. The mode strategy is built for the case where modes are few, physically distinct and switch rarely — which is exactly how a vehicle's coolant circuit behaves.
DC fast-charging time from 15 to 85 % state of charge, by preconditioning the battery at the right moment.
Lower energy use in an efficiency test at −10 °C, with the battery kept within its limits the whole time.
Less energy than a rule-based strategy over two WLTC class 3 cycles at −7 °C, measured in a climatic wind tunnel.
Stuff more electrons in, faster
Need to get more electrons in there, faster?
Run it right at the edge of the system limits — with optimal control.
It started at a fast charger, late at night. Everything was hot, and I just wanted to get home. I only needed a quick top-up — but at full speed. So I looked at the numbers: battery temperature, charging current. There was still headroom. The system was playing it safe where it didn't have to.
That gap is what optimal control closes: use every bit of headroom the limits allow — and not one bit more.
The road so far
Tech Lead, Vehicle Systems Engineering
Volkswagen AG · on assignment in Irvine, California
Production embedded C software for the refrigerant circuit and cabin HVAC — function design, software architecture, calibration, and verification from unit test to vehicle.
Development Engineer, Climate & Thermal Systems
Volkswagen AG · Wolfsburg
Global function responsibility for heating and cooling in the MQB Evo climate control unit across combustion, mild-hybrid, hybrid and plug-in vehicles. Led climatic field trials in Sweden, Spain, Italy, Switzerland and Austria.
Chances are I'm riding along every day.
My heating and cooling functions run in the climate control unit of Volkswagen's MQB Evo platform — every cold morning, every hot parking lot.
PhD, Control and Cyber-Physical Systems
TU Darmstadt, with Volkswagen AG · defended October 2025
Developed the mode optimization strategy, built real-time models of battery, drivetrain, power electronics and heat pump, and validated it all in a prototype vehicle via rapid control prototyping, HIL and wind-tunnel tests.
Dipl.-Ing., Automotive Electronics
Westsächsische Hochschule Zwickau
Thesis: control system for an automated six-speed motorcycle gearbox.
Civilian service abroad
Nicaragua
Installed solar power systems and commissioned CNC machines.
Higher Technical Diploma, Electrical Engineering
HTL Braunau, Austria
Where it started: architecture and control design of an electric racing go-kart.
Publications & patents
Intelligentes Thermomanagement batterieelektrischer Fahrzeuge unter Berücksichtigung verschiedener Betriebsmodi
Intelligent thermal management of battery electric vehicles considering different operating modes · TU Darmstadt, 2025 (published on TUprints 2026) · in German
A novel approach using mixed-integer MPC to optimize thermal management systems in BEV
J. Stockhammer, J. Lünenstraß, R. Findeisen · brute force vs. combinatorial integral approximation, validated in a climatic wind tunnel
A dynamic optimization approach for thermal management systems in BEVs
J. Stockhammer, S. Giraldo Zapata, T. S. Schmidt, J. Frese, S. Twenhövel, R. Findeisen · simplified component models, battery heating, precooling for fast charging
Need one of my papers?research@josto.me
Seven patent applications in vehicle thermal management, heat pumps and energy control:
What I work with
Want to build something that moves?
Thermal management, mode-dependent optimization, embedded controls — just say hi.
Impressum
Angaben gemäß § 5 DDG
Johannes Stockhammer[Straße Hausnummer]
[PLZ Ort]
[Land]
Kontakt
E-Mail: Johannes@Stockhammer.pro
Telefon: [Telefonnummer]
Verantwortlich für den Inhalt nach § 18 Abs. 2 MStV
Johannes Stockhammer, Anschrift wie oben.
Hinweis
Dies ist eine private Website. Die Inhalte geben ausschließlich meine persönliche Meinung wieder und nicht die meines Arbeitgebers.
Haftung für Inhalte
Die Inhalte dieser Seite wurden mit Sorgfalt erstellt. Für Richtigkeit, Vollständigkeit und Aktualität kann ich jedoch keine Gewähr übernehmen. Nach §§ 7 bis 10 DDG bin ich für eigene Inhalte nach den allgemeinen Gesetzen verantwortlich, jedoch nicht verpflichtet, übermittelte oder gespeicherte fremde Informationen zu überwachen.
Haftung für Links
Diese Seite enthält Links zu externen Websites Dritter, auf deren Inhalte ich keinen Einfluss habe. Für diese Inhalte ist stets der jeweilige Anbieter verantwortlich. Bei Bekanntwerden von Rechtsverletzungen entferne ich entsprechende Links umgehend.
Urheberrecht
Texte und Grafiken dieser Seite unterliegen dem Urheberrecht. Die Dissertation ist über TUprints unter CC BY-NC 4.0 veröffentlicht; es gelten die dort genannten Bedingungen.
Datenschutzerklärung
1. Verantwortlicher
Verantwortlich im Sinne der DSGVO ist Johannes Stockhammer, Kontaktdaten siehe Impressum.
2. Hosting
Diese Website wird bei Cloudflare Pages gehostet (Cloudflare, Inc., 101 Townsend St., San Francisco, CA 94107, USA). Beim Aufruf verarbeitet Cloudflare technisch notwendige Daten wie IP-Adresse, Datum und Uhrzeit, aufgerufene Seite und Browserinformationen, um die Seite auszuliefern und vor Angriffen zu schützen. Rechtsgrundlage ist Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse an einem sicheren und stabilen Betrieb). Eine Übermittlung in die USA erfolgt auf Grundlage des EU-U.S. Data Privacy Framework bzw. von Standardvertragsklauseln.
3. Schriftarten und Formeldarstellung
Zur Darstellung werden Schriftarten von Google Fonts (Google Ireland Ltd., Gordon House, Barrow Street, Dublin 4, Irland) sowie die Bibliothek MathJax über cdnjs (Cloudflare, Inc.) geladen. Dabei wird Ihre IP-Adresse an diese Anbieter übermittelt. Rechtsgrundlage ist Art. 6 Abs. 1 lit. f DSGVO (einheitliche und lesbare Darstellung).
4. Lokale Speicherung
Wenn Sie zwischen hellem und dunklem Design wechseln, wird diese Auswahl ausschließlich in Ihrem Browser gespeichert (localStorage). Die Information wird nicht an mich übermittelt; die Speicherung ist für die von Ihnen gewünschte Funktion erforderlich (§ 25 Abs. 2 Nr. 2 TDDDG).
5. Kontakt per E-Mail
Wenn Sie mir eine E-Mail schreiben, verarbeite ich Ihre Angaben zur Bearbeitung Ihrer Anfrage (Art. 6 Abs. 1 lit. b bzw. f DSGVO) und lösche sie, sobald sie nicht mehr benötigt werden.
6. Keine Analyse, kein Tracking
Diese Website verwendet keine Cookies zu Analyse- oder Werbezwecken und keine Tracking-Tools.
7. Ihre Rechte
Sie haben das Recht auf Auskunft, Berichtigung, Löschung, Einschränkung der Verarbeitung, Datenübertragbarkeit sowie Widerspruch (Art. 15–21 DSGVO). Zudem können Sie sich bei einer Datenschutz-Aufsichtsbehörde beschweren.
Stand: [Monat Jahr]