35 lines
967 B
C#
35 lines
967 B
C#
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
|
|
}
|
|
}
|
|
|
|
}
|