Skip to content

Help needed for a custom rate law #18

@ayush9pandey

Description

@ayush9pandey

I would like to create a negative Hill function as my custom rate law. In the custom laws json, I currently have:

[
    {
        "name": "HillNegative", 
        "expression": "parameter / ( 1 + (reactant1 / parameter)**parameter )",
        "optional_symbols": [],
        "power_limited_species": []
    }
]

But this doesn't work and I see the following error message:

Some items in your JSON file were invalid and have been removed.
Details:
Rate law HillNegative has an invalid expression.

I have tried different versions of the above: with and without including in the optional symbols and power_limited_species list, by using a simplified expression for the hill function description, using n = 2 for the exponent hard coded..but none of these attempts have worked. I'd appreciate any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions