Added Json Schemas

This commit is contained in:
WyanMueller
2025-11-16 19:52:52 +01:00
parent d2e409d10f
commit 0487824e63
16 changed files with 931 additions and 35 deletions
@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BaseCellSimulation.Enzyms.Cytosol.Hexokinasen
{
public abstract class Hexokinasis : InternalEnzym
{
public Hexokinasis() {
Km = 0.05;
Vmax = 5;
Type = EnzymType.MichelisMenten;
KmRange = new(0.01, 0.1);
VmaxRange = new(0.5, 20);
}
public override void ApplyChanges(CellRessources res, double dt)
{
double used = Math.Min(rate * dt, Math.Min(res.Res.Carbon.Glucose, res.Res.Energy.ATP));
res.Res.Carbon.Glucose -= used;
res.Res.Carbon.G6P += used;
res.ConsumeATP(used);
res.Res.Ions.Protons += used;
}
//todo noch machen dass atpberücksichtigt wird
public override void ComputeRate(Resources res)
{
Michaelis_Menten(res.Carbon.Glucose);
}
}
}