InitalCommit

This commit is contained in:
WyanMueller
2025-11-16 10:30:26 +01:00
parent 8b0b73bba8
commit d2e409d10f
73 changed files with 3209 additions and 0 deletions
@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BaseCellSimulation.Enzyms.Lysosome
{
public class Cathepsin : InternalEnzym
{
public Cathepsin()
{
Vmax = 0.2; // mM/s, empirisch
Km = 0.1; // mM
}
public override void ComputeRate(Resources res)
{
Michaelis_Menten(res.Protein.Waste);
}
public override void ApplyChanges(CellRessources res, double dt)
{
double degraded = rate * dt;
degraded = Math.Min(degraded, res.Res.Protein.Waste);
res.Res.Protein.Waste -= degraded;
res.Res.Protein.AminoAcids += degraded * 0.5; // 50% verwertbar
res.Res.Energy.ATP += degraded * 0.05; // kleine ATP-Rückgewinnung
res.Res.Energy.NADH += degraded * 0.01; // minimale Redoxreaktion
}
}
}