33 lines
851 B
C#
33 lines
851 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BaseCellSimulation.Enzyms.Cytosol.Ribosomen
|
|
{
|
|
public class PeptidylTransferase : InternalEnzym
|
|
{
|
|
public PeptidylTransferase()
|
|
{
|
|
Km = 0.05;
|
|
Vmax = 5.0;
|
|
}
|
|
|
|
public override void ApplyChanges(CellRessources res, double dt)
|
|
{
|
|
double dPeptide = Math.Min(rate * dt, Math.Min(res.Res.Protein.Aminoacyl_tRNA, res.Res.Energy.GTP));
|
|
|
|
res.Res.Protein.Aminoacyl_tRNA -= dPeptide;
|
|
res.Res.Protein.FunctionalProteins += dPeptide;
|
|
res.Res.Energy.GTP -= dPeptide;
|
|
|
|
}
|
|
|
|
public override void ComputeRate(Resources res)
|
|
{
|
|
Michaelis_Menten(res.Protein.Aminoacyl_tRNA);
|
|
}
|
|
}
|
|
}
|