InitalCommit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BaseCellSimulation.Enzyms.Lysosome
|
||||
{
|
||||
public class LysosomalLipase : InternalEnzym
|
||||
{
|
||||
public LysosomalLipase()
|
||||
{
|
||||
Vmax = 0.1;
|
||||
Km = 0.05;
|
||||
}
|
||||
|
||||
public override void ComputeRate(Resources res)
|
||||
{
|
||||
Michaelis_Menten(res.Lipids); // falls Lipide modelliert werden
|
||||
}
|
||||
|
||||
public override void ApplyChanges(CellRessources res, double dt)
|
||||
{
|
||||
double degraded = rate * dt;
|
||||
degraded = Math.Min(degraded, res.Res.Lipids);
|
||||
|
||||
res.Res.Lipids -= degraded;
|
||||
res.Res.Energy.ATP += degraded * 0.02; // minimaler ATP Gewinn
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user