The genetic network regulating the biosynthesis of subtilin in Bacillus subtilis is modeled as a stochastic hybrid system. The continuous state of the hybrid system is the concentrations of subtilin and various regulating proteins, whose productions are controlled by switches in the genetic network that are in turn modeled as Markov chains. Some preliminary results are given by both analysis and simulations. 1 Background of Subtilin Production In order to survive, bacteria develop a number of strategies to cope with harsh environmental conditions. One of the survival strategies employed by bacteria is the release of antibiotics to eliminate competing microbial species in the same ecosystem [15]. It is observed that the production of antibiotics in the cells is affected by not only the environmental stimuli (e.g. nutrient levels, aeration, etc.) but also the local population density of their own species [12]. Therefore, the physiological states of the cell and the external signals both...