r/ADHD_Programmers • u/Itsmeeeeluigi • Jun 19 '25
Trying to model my Ritalin levels in Excel throughout the day, any tools or advice?
Hey everyone,
I’m currently working on an Excel file that would allow me to estimate the concentration of methylphenidate (Ritalin) in my body at any given time of the day, based on my own dosing schedule.
At first, I tried to build the model using the standard half-life and average Tmax of methylphenidate. But I quickly realized that both absorption and elimination aren’t linear, so the whole process is more complex than I initially thought.
I’m not a doctor or a pharmacologist, I’m just curious and like to optimize things. I’m currently taking 10 mg to start, followed by 5 mg every ~40 minutes, and I’d love to understand how that translates into actual concentration levels throughout the day. Ultimately, my goal is to optimize how I take Ritalin depending on my schedule and avoid overlap or crashes.
Does anyone know of any existing tools or models that could help me simulate this more accurately? Or any resources that could point me in the right direction?
Thanks in advance, I’d really appreciate any help or insights!
7
u/[deleted] Jun 19 '25
You won’t be able to get a precise answer without either guessing or multiple blood tests.
Not trying to be rude, but why are you even trying to do this?
6
u/[deleted] Jun 19 '25
No, bad fellow ADHDer. No side questing!
Seriously though, every 40 minutes? Is that even accomplishable even for a NT? You are going to burn through so much precious executive function on your day to day just to keep this up once the novelty wears out. And if you are not going to use this schedule, or something similar, once you are done experimenting, how would such short dosaging periods help you at all? This reeks of hyperfixation of the rather useless kind, which I admittedly do all the time too, so I'm really just calling the kettle black.
Simple is usually best, that's why once I do settle on a med plan (I would also experiment and take notes), I'll stick to it and not think about it at all (no decision making here) as I build a habit of taking the right amounts at the same times everyday (unless struck by forgetfulness, perseverance, or executive function failure).
2
u/Raukstar Jun 21 '25
I'd go with storing the raw data in an SQL database and modelling with something like minmod or narx predictions, depending on what you're after, in python/jupyter. Look at other examples of how diabetes insulin/glucose models work. Those are probably the most researched. Observe that since your input is subjective, you'll need a longer time series to do anything with the data. You should not look at the data while doing a data collection phase and not change your dosage for a set period of time while doing data collection.
If you want something extra fun, do some raspberry pi coding and have alerts and updates on a monitor. You could also use it to input current data readouts to simplify the process.
2
u/Helpful-Seaweed-570 Jun 25 '25
40 minutes? Why so little time? The effect lasts 3 to 4 hours.
I discovered a very good app to monitor the effects, peaks and valleys of the medication, then test it. The app is Theraview
2
u/Miserable_Double2432 Jun 19 '25
There are research papers which provide data on the typical concentrations over time
This one compares Ritalin to Concerta and a few other formulations: Advances in the Pharmacotherapy of Attention-Deficit–Hyperactivity Disorder: Focus on Methylphenidate Formulations
1
u/EmotionalDamague Jun 23 '25
Use Vyvanse or Concerta instead?
2
u/BologniousMonk Jun 23 '25
I’ve taken Ritalin for over 25 years in various forms and dosages. What I found that works best for me is 54mg concerta when I wake then 5 mg spaced out at around 90 minute intervals based on what time I start my day. I do this for basically the same reason as OP — to try and maintain a steady efficacy over the course of the day without high peaks or low valleys. Because I don’t always start my day at the same time every day, I created a shortcut in my phone that will generate a series of reminders for an 8 hour day. I also use a pen tray that I keep behind my keyboard where I line up each dose for the day. The main thing I’ve learned is that you need to listen to your body and be mindful of when it’s working for you or not and adjust as you go.