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,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BaseCellSimulation.Enzyms.Nucleus
{
public class HistoneDeacetylase : InternalEnzym
{
public HistoneDeacetylase()
{
Km = 0.02;
Vmax = 0.25;
}
public override void ApplyChanges(CellRessources res, double dt)
{
double dD = Math.Min(rate * dt, Math.Min(res.Res.Nucleus.ChromatinAccessibility / 0.1, res.Res.Energy.NAD));
res.Res.Energy.NAD -= dD;
res.Res.Energy.NADH += dD * 0.5;
res.Res.Nucleus.ChromatinAccessibility = Math.Max(0.0, res.Res.Nucleus.ChromatinAccessibility - dD * 0.1);
}
public override void ComputeRate(Resources res)
{
Michaelis_Menten(res.Energy.NAD);
}
}
}