1. A method for implementing homeostasis of an artificial nervous system, comprising: determining one or more state variables of a neuron model used by an artificial neuron, based at least in part on dynamics of the neuron model; determining one or more conditions based at least in part on the state variables; and adjusting the dynamics based at least in part on the conditions.