CONTROL SYSTEMS BASED ON SIMULATED VIRTUAL MODELS

Abstract: This invention describes a computer-based system (112), methods and visual interfaces for providing an integrated development and deployment framework for visual modeling and dynamic simulation of virtual models of complex systems, which can be further integrated with monitoring (108) and control (138) devices to monitor and control the operation of the complex systems modeled (102) and can be used for information retrieval. More particularly, the virtual models in the present invention relate to visual models of biochemical complex systems, comprising sets of icons representing processes and their participants linked into multidimensional pathways (116), further organized in a hierarchy of icons representing discrete time and space compartments, wherein such compartments may contain other compartments, and wherein those modular icons encapsulate in different layers all the information, data, and mathematical models that characterize and define each virtual model.

Description: CONTROL SYSTEMS BASED ON SIMULATED VIRTUAL MODELS 1 TECHMCAL FIELD A The present ιn\ ention in its broadest form relates to computer-based sv stems, methods and \ isual interlaces tor prov iding an integrated de\ elopmen and deplo ment framew rk tor \ isual modeling and dvnamic simulation or \ irtual mi iels or complex s\ stems w hich can be further integrated u ith monitoring and control de\ ices to .ontrol the operation or the complex al Cop\ right Notice A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone ot the patent document or the patent disclosure as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever II BΛCKGROU .D ART Λ Know ledge-Based and Model-Based System for Monitoring and Control 1 Prixr s industries including the pharmaceutical, biotechnologv , chemical, food, env ironme t l and otner cm -av e millions ot dollars bv using artificial intelligence tor process optimization to control complex productions facilities L'sing large-scale cultiv tion of microorganisms or mammalian cells are extreme c e in tern, or complexitv w hen consideπnt; then as the indiv idual manufacturing plants involved in complex ieinical -v nthesis Current s\ stems monitor v erv general tv pes t phenomena such as gas pressure pH and in om occasions the concentration ot some product that correlates w ith cell grow th or production but those parameters are usuallv poor indicators ot how much ot the desired product is produced Complex mixtures o f -hemical reactions can be tinelv controlled extemalh bv modifv mg the tvpes and amounts ot inputs added it one could predict w hat will happen bv addini; those inputs, w hich requires a good know ledge and a model ot such s ste ot reactions This is particularlv the c e w ith biological cellular sVstems that hav a v rv sophisticated methods to transduce the signals prov ided bv ligands m their external env ironment to the interior ot the cell resulting in the execution ot »pe_ιtιc functions Such detailed and accessible mechanistic models ot those pathw av s ot reactions are not currentlv used tor monitoring and control s stems but ould be hiijhlv desirable 2 Sev eral knowledge-based svslems tor monitoring and control functions hav been used to include the know ledge of experts into the automated control ot production facilities A know ledge-based »\ 5 tem interpret* data using di rse forms ot know led ye added to the s\ stem bv a human domain expert including a I s allo know ledge or heuristics such s human experience and interpretations or rules-ot thumb, and b) deep know ledne about the s\ stem behav IOΓ and interactions The sv st ms that mainlv based in the first tv pe r know ledne are in general referred to s know ledge-based expert s stems, and the logic is represented in the tot in or production rules In the more adv anced real-time expert \ stems interencing techniques are usuallv data-dπv en usin torw ard chaining but can aNo emplov backw ard chaining tor goal-dπv en t sks and ror gathering data The inference engine searches tor and executes relev ant rules w hich are separate rrom the inference enqine and therefore the representation is intnnsi allv declarativ e Obiect-oπented expert systems allow a powerful know ledge representation ot physical entities and -onceotual entities In those s\ stems data and behav lor mav be unified in the class hierarchv Each class has a template that defines each ot the attributes characteristic ot that class and distinguish it from another tvpes ot objects Manipulation and retπev al of the v alues of the data structures mav be performed through method- attached to a object s class Model-based systems can be deπv ed from empirical models based on regression ot data or from first-principle relationships between the v aπables When sufficient information to model a process -or part of it- i av ailable, a more precise and compact s vstem can be buiL There is a number ot commercially available shells and toolkits that facilitate the dev elopment and deployment ot domain-specific knowledge-based applications Of those real-time expert-svstem shells otter capabilities for reasoning on the behav lor ot data ov er time Each of the real-time object-oriented shells from v aπous v endors otters its s t ot adv antages and each follow s a different approach, such as compiled v ersu- interpreted, and otters a different lev el ot graphic sophistication The specific shell currently -elected tor the implementation ot this inv ention is Censvm Corporation s C2 Version 30 system, and in part Version 4 0 w hich is designed for complex and large on-line applications w here large number ot v aπables can be monitored concurrentlv It able to reason about time, to execute both time-triggered and event-triggered actions and inv ocations to combine heuristic and procedural reasoning, dv na ic simulation, user interface, database interface capabilities, and other facilities that allow the know ledge engineer to concentrate on the representation and incorporation ot domain-specific know ledge to create domain-specific applications C2 prov ides a built-in inference engine, a simulator, prebuilt libraries of functions and actions, dev eloper and user-interfaces and the management ot their seamless interrelations A built-in inspect tacilitv permits users to search tor locate and edit v arious tvpes ot know ledge Among G2's Inference Engine capabilities are a) data structures are tagged w ith time-stamp and v aliditv mterv aN w hich are considered in all inferences and calculations taking care ot truth maintenance, and b) intrinsic to C2 s tasks are managed bv the real-time scheduler Task prioritization, asv nchronous concurrent operations, and real-time task scheduling are therefore automaticallv prov ided bv this shell C2 also prov ides a graphic us r interface builder w hich mav be us to create graphic user interfaces w hich ai language independent and allow to displav information using colors pictures and animation Dvnannc meters, graphs and charts can be defined tor tnteractiv e follow -up ot the simulation It also has debugger, inspect and describe facilities The know ledge bases can be sa ed a separated modules as ASCII tile- The graphic v lew s can be shared w ith netw orked remote CPU's or terminals equipped w ith X Window s sen er πiftw art B Computer-Aided Physiological and Molecu lar Modeling and Artificial Intelligence in Molecular Biology 1 Most computer-aided siological and molecular modeling approaches hav e resulted in computer models ot phv siological function that are numerical mathematical models that relate the phv siological v riable- u-ιn<.; empiπcallv determined parameters Those models w hich can become quite complex, aim at modeling the ov erall 2 Both molecular biologv and medicine hav e been Melds ot prev ιous activ nv in the application ot artificial intelligence ( Al) In molecular biologv, although there w ere some earl s\ stems such as Molgen and Dendral tne activ itv has intensified recentlv as a consequence ot the explosion in new technologies and the deπv ed data mostlv related w ith the Human Genome project and the handling or lar^e amounts ot sequence data generated relating to both D A and proteins There has also been an increased interest in computer methodologies m 3D structural models ot molecular interactions As an example the topics cov ered in svmposia such as the recent Second International Conference on Intelligent Svstems tor Molecular Biologv , 1^ , Stanford L niv ersitv C A (see the reference to its Proceedings tor a current state ot the art w Inch are here included bv reference ) co r areas as w ide as machine learning, automatic generation ot representations inductiv e and deductiv e reosonm'.; case-based reasoning computational linguistics applied to both text and DN A or protein sequences constraint propagation, bavesian inference, neural netw orks quahtativ e modeling expert sv stems, obiect-oπented databases, simulation kno ledge acquisition technologies and know ledge base maintenance In those and manv other published papers there are as mam objectiv s and a manv approaches as there are teams The projects how ev er are in most cases ot academic interest and in tew cases it has been attempted to dev elop tinist' products tor commercial distribution Here, onlv tw o projects w ill be mentioned that hav e some common objectiv s w ith the svstem that is the object ot this inv ention Di us i n o er other prev ιous a ro ch s are also included in those references 3 The Molnen group at the Stanford L'niv ersitv Know ledg Sv stems Laboratorv has been stu v mg tor - v eral v ears s_ιentιtιc thetirv formation in the domain ot molecular biologv s reported in bv Karp I' D and FπedlonJ P (included here bv reference* This proiect relates to the s\ -tern obiect or this inv ention in that both are concerned w ith biochemical s ste s containing populations or interacting molecules in w hich the form ot now edee available .. vanes widely in precision from quantitative to qualitative", as those authors write However, the domain of Moluen is a small subset of the domain of the system ob|ect of this invention. Within the Molgen group, the I'h.D dissertahon of P. D. Karp (included here by reference), focused on applying that research to the design of a computer-assisted reasoning and hypothesis formation system. In the process, the author "developed a qualitative biochemistry for representing theories of molecular biology", as he summarizes in an abstract with the same name the Al Magazine, Winter 1990, pp 9-10. In particular, he developed three representation models to deal with the biochemical pathways related to the tryptophan operon in bacteria, called declarative device models, each having different capabilities and using different qualitative reasoning approaches. Only chapter 3, dealing with those models, have relevance in the context ot this invention The first model uses IntelliCorp's KEE (a commercial product) frames to describe biological objects and KEE rules to describe chemical reactions between the objects, which he recognizes to have serious limitations because is not able to represent much of the knowledge available to biologists The objective of the second model, which is an extension ot the fixed state-variable network of deKleer nd Brown, is to predict reaction rates in a given reaction network, incorporating a combination ot quantitative and qualitative reasoning about state-variables and their interdependencies. The drawbacks are that this model is not able to incorporate a description ot the biological objects that participate in the reactions, and in addition it does not have a temporal reasoning capabilities, representing just an static description of the state variables and their relationships The third model, called CENSIM and used tor both prediction and hypothesis formation, is an extension or model 1. and is composed ot three knowledge bases or taxonoimcal hierarchies of classes of a) biological objects that participate in the trp-operon gene-regulation system, b) descriptions of the biological reactions that can occur betw een those objects, and c) experiments with instances ot those classes of objects The CENSIM program predicts expeπmental outcomes b determining which reactions occur between the obiects in one experiment, that create new obiects that cause new reactions. CENSIM is also further used in coπiunction with the HYPCE. \'E hypothesis-formation program that will not be further discussed here. Characteristics of the CENSIM program that may be relevant, although different, tor the system ot this invention are a I chemical objects are homogeneous populations of molecules, objects can be decomposed into their component parts, and identical objects synthesized during a simulation are merged, b) chemical processes are frames arranged in an inheritance class hierarchy, which represent reactions between those populations as probabilistic ev ents with two subpopulations, one that participate in the reaction and one that does not. c) restrictions Δra specified in the form ot preconditions for chemical reactions to happen d) those Forbus-style processes can create objects and manipulate their properties, but cannot reason about quantitative state variables such s Quantities. In his words, "processes are described as KEE units |that] specify actions that will be taken it certain conditions hold", and in that sense are like production-rules, eι temporal reasoning is not available, resulting again in static representations and simulating only behavior in very short time intervals 4 This system integrates a variety ot forms of know ledge representation, some ot them totally nov el, w hile -ome ot these forms may have been given a previous treatment by other authors which mav be similar in s me ot it- aspects tιι the treatment given in this invention How ever, upon integration into a totally new approach, that treatment becomes a part of a novel representation and innovative sv stem. For example, regarding the semi-quantitative simulation component, w hich ιs |ust one ot se eral applications ottered by the s stem obiect ot this invention. L E. Widman ( 1991 ) describes a semi-quantitative simulation of dynamic s stems in a totally different domain What both systems hav e in common is the assumption that, as stated by Widman. "a semi-quantitative model .. is intended to predict correctly the direction in w hich each variable will change and to provide a correct partial ordeπng of the magnitude of change relative to other variables in the model The questions can be answered in terms ot relative quantities rather than absolute quantities model parameters that are not specified explicitly are given the implicit, default values of normal' (unity) . " Similar but different concepts are applied in developing part of the system of this invention, but as it will become clear from the detail descriptions in the following sections, not only are they applied to a new domain, but the innovativ e tools and methods used in the present implementation are also quite different For example, w hile he assumes that " . the default, or implicit, v alue of 'normal' maps onto unity tor parameters and onto zero for variables the assumption in the prebuilt modular components in the current implementation differs from that statement in that the default, or implicit, value ot normal' may map onto values other than unity for parameters and onto values other than zero tor variables, w ith those values being defined based on expert know ledge II DISCLOSURE OF INVENTION A This invention describes an mfecrated computer-based system, methods and v isual interfaces tor prov idinc a development and deploy ment framew ork tor v isual modeling and dvnamic simulation ot v irtual models or complex sv stems w hich can be further integrated w ith monitoring and control dev ices to monitor and control the operation ot the complex sv stems modeled based on the real-time simulation ot those Virtual Models The svste ot this inv ention can be used bv scientists to build the Virtual Models w hich in turn are to be used bv process engineers to design monitor and control a v aπetv ot processing units The Virtual Models can also be used tor information retπev al bv using the set ot v isual interfaces prov ided to perform a v aπetv ot tasks The av ailable information and data about those complex models is stored into modular modifiable expandable and reusable know ledge structures ith several lavers ot encapsulation w hich allow to hide or displav the details at the desired lev el ot complexity More particularl , the \ irtual models in the present inv ention describe v isual models ot biochemical complex s\ stems comprising sets of icons representing processes and their participants linked into multidimensional path av s, further organized in a hierarchv of icons representing discrete time and space compartments w herein such compartment- mav contain other compartments and w herein those modular icons encapsulate in different la ers all the information data, and mathematical model- that characterize and define each v irtual model B Process industries can sav e millions ot dollars bv using different methods ot process optimization to control production facilities U-mg large-scale cultiv ation ot microorganisms or mammalian cells are extreme cases in terms ot complexitv w hen considering then as the indiv ldual manufacturing plants involved in complex chemical synthesis Microorganisms are the preferable svstems for producing natural substances that hav e a multitude ot uses such as drugs foods additiv es biodetergents biopolvmers and other new and raw materials Most particularlv mammalian cells are the preferable sv stems for producing potent activ e substances tor therapeutic and diagnostic use The ultimate lev el ot complexitv is using a hole animal as the liv e factor, tor continuous production tor important secreted proteins How ev er the current s\ st ms onlv monitor v erv general tvpes ot phenomena such as gas pressure pH and in some occasions the concentration ot some product that correlate- w ith cell grow th or production For example tor controlling the production ot a particular secreted protein that mav be produced in v erv low amounts in relation to other protein the total protein amount ot protein is measured w Inch is a v erv poor indicator ot how much of the desired protein is produced Complex mixtures ot chemical reactions can be tmelv controlled evtemalh bv modifying the tvpes and amounts ot inputs added it one could predict w hat w ill happen bv adding those inputs w hich requires a good know ledge and a model ot such sv stem ot reactions This is particularlv the case w ith biological cellular sv tems that have a v erv sophisticated methods to transduce the signals prov ided b\ ligands in their external env tronment to the interior ot the cell resulting in the execution ot specific functions Such detailed and accessible mechanistic models ot th se pathw av s ot reactions are not currentlv used for monitoring and control sv stems but w ould be highlv desirable This inv ention prov ides the sv stem and methods that allow to a) build detailed mechanistic model- ot the complex s st s inv olv ed and b) to use inrerence methods that integrate the simulation ot those \ irtual Models w ith inputs tro monitonng dev ices to allow tor the intelligent control ot the operation ot the complex C The accuracv and v aliditv ot knovv ledge-based s\ - terns correlates not onlv w ith the qualitv ot the know ledge n ailable to the dev elopers but also w ith their abihtv to understand interpret and represent that know ledge B caus ot the complex interrelationships dπv ng the biochemical processes w ithin and betw en cells it i- to prov ide the manv options tor know ledge representation required bv those sv stems This inv ention present- a hv bπd dv namic expert s stem that combines a) the inheritance and encapsulation features characteristic ot an ob|ect -oriented modeling approach b) the procedural and rule-based inference capabilitv ot an expert «\ stem and c) a model based simulation capabilitv It is a further adv antage ot this inv ention to prov ide a tramew ork that a) allow s domain-experts to directlv enter their know ledge -to create and moditv v isual models as needed based on additional experimentation- w ithout the need ot know ledge engineers as intermediaries and b) prov ides a know ledge-base hav ing a w ell defined structure tor representing know ledge about entities proce— s pathw av - and interacting networks ot pathw av s prov idmg a v isual interface ana associated methods capable ot dealing w ith incomplete and constantlv ev olv ing information and data The data structures and domain-specitic kno ledge-base are independent ot application-specific use allow mg the application-specific know ledge-bases to expand w ithout affecting the basic operation ot the s\ stem '-peciti-. applications can be quicklv built bv using the prebuilt building blocks and the paradigm ot Clone Connect Configure and Initialize The structure ot the domain-specific know ledge-base sen es also as the infrastructure prov ided to store additional information about new obiects and models The innov ation- ot this inv ntion include but are not limited to the specitrc design generation integration and use of the libraries or buιldιng-blι ks a>_._e— panel- and their associated methods that allow representation interpretation modeling and simulation or difterent tv es ot entities and their stat s relations interactions the pool- or each ot those entities in different compartments the processes in w hich tho-e pixil- of entities parti ipite their discrete conipartmentali / ation in time and space .1- w ll a- the concepts that make the simulation ot this erv complex irtual Model can be built as a s t ot modules focusing each on difterent suo-v -tern- Each ot the modules can be run on toD ot the repository module that contain the class definitions and associated methods and thev can be dependent or independently of each other or they can be maintained in separate CPUs and seamless integrated bv the Shell s supervisor D This inv ention includes libraries pan iding the prebuilt building-blocks necessarv tor v isuallv representing the v ast breath ot knovv ledge required for building v irtual models ot complex sv stems in general, and ot biological s stems in particular The building-blocks are classified in palettes that can be selected through sv stem menus The descriptive m forma tion and data and the mathematical models are all encapsulated within the modular components, in the form ot attribute tables and in the form ot component icons, with a plurality ot methods are associated w ith each ot the icons The v isual models are built bv i terconnecting components ot each reserv oir icon to components ot the one or sev eral process icons in w hich their entities participate as inputs or outputs, or bv i terconnecting components of each process icon to components of the one or sev eral reserv oir icons that pan ide inputs or receiv e outputs to that process icon, resulting in complex networks ot multidimension l pathways ot alternating lavers of reserv oir icons and process itons, w hich mav be located in the same on in difterent compartments The time compartment icons, the reserv oir icons, and the process icons or their components comprise sets of quanhtativ e v aπables and parameters, and a set ot associated methods that permit real-time simulations ot the models created with those modular components The svstem ot this inv ention combines a number ot programming paradigms, integrating the v isual interface to define and constrained objects represented bv icons, ith procedural and uiterential control and quantitativ e and semi-quantitativ simulation methods, prov iding a v aπetv ot altemativ es to deal ith complex dynamic systems E Ot importance in simulating the behav lor ot complex sv stems is the need to model the different quantities and states at which the entities can be found in particular locations at different points in time, and aKo to model the ev ents that cause the transitions from one state to another or the translocation from one location to another or the progress to the next phase in the time sequence Some ot the important teachings ot this inv ention comprise the representation ot those states, transitions, and locations the methods to implement their graphic mi xieling and the methods to dynamically simulate the dynamic* of the pools ot entities in each state, location, or phase In the particular domain implemented to illustrate this inv ention, there are s eral major tv pes ot states and transitions to be considered, depending of whether the entity to be considered is a biological svstem, organ cell cellular compartment, molecule or any other ot their components We are pan iding here w ith |ust a tew examples considered in the currently preterred embodiment of this inv ention F The architecture of the svstem ot this inv ention allows v aπous bioProcesses to simultaneously comp>ete for the contents of a bioPool hile also allow s one bioPool to participate in v aπous bioProcesses in different capacities w ith different units vv ithm a bioPool behav ing in different ax s, as determined bv the class ot bioKeactant to Inch thev are distantly connected v ia the biol'osts With this implementation, all bioEngmes that input units into a giv en bioPool and all the bioEngmes that get input units from that bioPool are integrated At the same time, all bioPools that input units into a giv en bioEngme and all the bioPools that get input unit- fro that bioEngine are also linked The result is a \ erv complex multidimensional network ot composite bioObjects, w Inch prov ides the matrix tor further reasoning and simulation bv the program For example the formulas that prov ide the v alues tor the encapsulated sets ot v aπables and parameters refer to connected bιoOb|ects both graphicallv or disfantlv prov iding the capability ot concurrentlv and dv namicallv compute a- a large number of processors arranged both in parallel and in series w ithm that matrix C The modeled sv stem s behav lor is defined bv mathematical components represented bv a set ot model differentia and algebraic equations that prov ide the v alues ot the s\ stem s v aπables and describe their behav ιor together w ith the set ot associated parameters that control the behav lor ot the v aπables and the system as a w hole The -vstern s v aπables and parameters are embedded and distπbuted throughout the -v stem ot connected structure- encapsulated w ithm the subcomponents that define the svstem s architecture The model can then be \ lew ed a- a set of embedded block diagram representations of the underlaying equations that can be used for dv namic numeπcal simulation and prediction ot the effects ot perturbations on the sv stem and to ask w hat-if tv pe questions H The compartmentalized bioModels and the methods attached to them encode know ledge that enables the program to reason about the containment of difterent parts ot the model in s v eral compartments w hile the architecture ot the net ork ot linked bioObjects ot div erse tvpes is transparentlv maintained regardless ot the transfer or the bιoOb|ect icons to different locations Thev also comprise quantitatn e v aπables and parameters s m relating to quantities and rates translocation distπbuted either w ithm the corresponding reserv oirs and process or relating to time interv als w hich mav be associated vv ith the time compartments all ot w hich hav e associated simulation formulas to compute their v alue> In addition the modeler can define expert rules to monitor the v alues ot those v ariables w hile the simulation is running and to either set other v lue* r control the course ot the simulation in a v aπetv ot w v s The expert rules can al»o reason about time or abou' . ents resulting from the simulation Inference using those tvpes ot know ledge mav direct further actions to be -xecuted bv the svstem 1 The v isual interface further prov ides quick access to s v eral automated methods tor compiling retnev mg and ing the modular components of the v isual models as vv ell as die information and data thev contain The system integrates inferential contail vv ith quantitativ e and semi -quantitativ e simulation methods and prov ides a v aπetv ot alternativ es to deal vv ith complex dv namic svstems and w ith incomplete and constantlv ev olv ing information and data A number ot functions and v isual interfaces can be selected from the menus associated vv ith each ot those icons or their components to extract in v aπous forms the information contained in the model- build w ith those building blocks 1 A function is prov ided bv the method- to create and displav ot interactiv netw orks of pathw av s bv programmaticallv integrating the components ot the Virtual Model into multidimensional netw orks ot interacting pathw av s including branching and merging of pathw av s cross-talk betw een pathw av s that share elements and teed-back and forward loops 2 A function is prov ided bv the methods to perform complex predefined queries that combine criteria related to the structural composition ot the bioEntities inv olv ed the position ot bioPools dovv nstream or upstream ot the bioPool taken as reference, the role that those rx>ol ot entities plav in processes, the location of those pools and processes in the discrete time and space compartments or anv combination ot them ~ A function is prov ided bv the methods to dynamically simulate their continuous interactions modifications and translocations to other compartments and the time-dependencv ot such interactions optionallv using the encapsulated absolute- lued or scaled- lued parameters and v ariables I The examples prov ided to document the current implementation ot this inv ention focus on modeling biochemical regulatorv processes that are relev ant tor intracellular or intercellular signaling This is how ev er one ot the manv potential applications ot the sv stem ot this mv ention and it should not be construed to limit the applicabilitv ot this sv stem to the numerous other applications that inv olv e complex sv stems in anv other domain w hich can be dev eloped bv minor modifications or additions ot the s\ -tern using the methodologv here presented K There are numerous other uses ot the core sv stem, methods and \ isual interface ot this inv enhon in addition to the monitoring and control applications described here Ot particular interest is the modeling and simulation or disease specific conditions and the testing the effects -both desired and unw anted side effects- ot potential therapeutic agents This inv ention also allow s to analvze disturbances such as potential env ironmental or biological inducers of disease in both phv siological and pathophv siological models The methods included in this inv ention can in a similar w av be used in a v aπetv ot applications including but not limited to simulation ind prediction ot experimental results interactiv e drug design studv ot drug side-effects and multiple drug interactions simulation ot interactiv e causes in the induction and progre-sion i it disease including both biological and env ironmental factors diagnostics and clinical decision support therapv planning theoretical research and numerous other applications L The foregoing and additional objecti es descriptions features opentioπs and ad antages ot the present inv ention w ill be understood from the follow ing detailed des.πption ot the preferred embodiments in combination w ith the a companv ing figures BRIEF DESCRIPTION OF DRAWINGS FIG.l is a high-level illustration of the various components integrated in the system of this invention to use the virtual models for control functions. FIG.2 is an schematic representation of the organization in the system of this invention of the components of the virtual models in the domain of cell biology. FIG.3 is an schematic representation of the organization in of domain-specific processes in discrete space compartments an time compartments. FIG.4 is an schematic representation of the handling of the dynamics of the progression of populations of cells through different states by means of the sets of pools of cells and processes characteristic of this invention. FIG.5 is an schematic representation of the multiple layers of linked pools of entities and processes the result in the multidimensional pathways characteristic of this invention. FIG. 6 is a more detailed representation of how the various iconic components encapsulated in the icons representing the pools of entities and processes are linked in the current implementation of this invention. FIG.7 is a detailed representation focusing on the iconic components of a process and their relations lo its sources of inputs and the targets for its outputs. FIG.S is a detailed representation focusing on the iconic components of a pool of entities and its inputs and outputs. FIG. shows domain menus that allow different types of access to different types of capabilities, for the purpose of modeling or using the virtual models, here focusing on the developer mode thai allows developing additional tools. FIG.10 is the table of attributes of a complex variable structure that allows the integration of measured values and the simulated values that facilitates the implementation of this invention. FIG.n is a library of predefined classes of variables with associated generic simulation formulas associated with each class available to the modeler virtual models for a specific domain. FIG.12 describes the sets of attributes of the components of a reservoir, focusing on the variables and parameters of its model-block component.. FIG.13 describes the sets of attributes of the components of a pool of entities, focusing on its variables and parameters. FIG.14 describes the sets of attributes of the components of a process, focusing on the variables and parameters of its reactants. FIG.l 5 describes the sets of attributes of the components of a process, focusing on the variables and parameters of its engine and products. FIG.16 shows domain menus of the modeler mode that allow modelers lo access the different palettes of prebuilt building-blocks. FIG.17 shows examples of different palettes of prebuilt molecular components. FIG. IS shows an example of a complex molecular structure bu ilt with the prebuilt molecular components. FIG.19 shows a palette with examples of prebuilt model-blocks. FIG.20 shows a palette with examples of prebuilt composite processes. FIG.21 shows a palette with examples of prebuilt. reactants. FIG.22 describes the tools for interactively establishing links between components that result in multidimensional pathways. FIG.23 shows a palette with examples of prebuilt composite domain-specific compartments.. FIG.24 describes a domain-specific compartmentalization of the components of a virtual model, in this case focusing on the sequential phases of a cell's cycle and on its subcellular compartments. FIG.25 describes a domain-specific implementation of compartmentalized model interacting with each other and w ith the external environment. F1G.26 describes a domain-specific characterization of the compartmentalized model from an external point of view. FIG.27 describes a domain-specific implementation of an evolutionary tree representing the alternative successive states that a compartmentalized model may follow depending on the events that depend on their internal processes responding to the environment, from an external point of view. FIG.2S is an schematic representation of the combination of the inference and simulation capabilities used in this invention to simulate virtual models of complex systems. FIG.29 is a detailed representation of how in this invention pools of cells interact with pools of molecules as reactants of processes which products are either molecules or cells in a different stale. FIG.30 describes an example of the predefined Query Panels and their use. FIG.31 describes how a user can request from any process within the virtual model the dynamic generation of the pathways of all the processes that are either upstream or downstream fro that process. FIG.32 describes an example of the predefined Navigation Panels that the user can request from any reservoir within the virtual model for the dynamic generation of constrained pathways of all the processes that are either upstream or downstream fro m that reservoir, but which are contained within a compartment selected by the user. FIG.33 describes an example of the predefined Simulation Panels that the user can request from any reservoir within the virtual model the dynamic generation of constrained pathways and for the control of the dynamic simulation of the kinetics of those pathways. F1G.34 describes how such simulation can be followed by plotting the time-series of any of the quantitative values of any reservoir and process in the subsystem being simulated. FIG.33 describes an example of the predefined Experiment Panels that the user can select from the domain menus to request the dynamic generation of constrained pathways from multiple initial points and for the control of the dynamic simulation of the kinetics of those pathways. FIG.36 describes an example of such set of pathways from multiple initial points V BEST MODE FOR CARRYING OUT THE INVENTION Notes 1 The bodv ot the present application has sections that may contain some discussion ot prior art teachings intermingled with discussion of innovativ e and specific discussion ot the best mode to use that pπor art in tnis mv ention as presently contemplated To describe the preferred embodiments, it is necessary to include in the discussion the capabilities ottered by the shell used as development and deployment framework for this inv ention (hereafter referred to as "the Shell") The applicant specifically notes that statements made in any ot those sections do not necessarily delimit the v arious inventions claimed in the present application, but rather are included to facilitate the process to explaining how the orkings ot an existing set ot tools is used to illustrate the preferred embodiments ot the new tools and applications claimed in the Claims section The currently preferred embodiment of this inv ention, as described in the present application, is based on the definitions ot a particular Shell Gensvm Corp . C2 Expert Svstem There are several other attributes that relate to the Shell's built-in performance and formatting capabilities, which are not shown in those examples Some information included within the body of this application vv as extracted from various sources describing the characteristics of C2, including user manuals, and some of this mateπal is subject to copyright protection A Monitoring and Controlling the Operation of a Reactor Using a Simulated Virtual Model 1 The system object ot this inv ention is a hy bnd combination of model-based methods descπbmg the explicit mechanistic reference behavior ot the production system with the input from process sensors that monitor the state ot the production svstem, tπggeπng ev ent-based control flow ot operations characteristic of each svstem The svstem implements rules that w ait tor ev nt- to happen Such ev ents mav be complex combinations of indiv idual ev ents such as selected measured v alues reaching certain predefined or simulated values or be within certain predefined ranges, including the implementation ot fuzzy -logic within those rules Such rules mav tired other rules or invoke mterencing procedures or cause certain control actions to take place This sv stem can detect the current status ot the production system, and v hen the selected monitored v aπables reach certain v alues specified bv the simulated \ alues ot those v anables, then certain control action take place This sy stem incorporates monitoring capabilities with the knovv ledge-based model to prov ide expert con tn>l ot the operation ot the production sy stem or biotermentor This control svstem prov ides simultaneous superv ision ot numerous operating vaπables (such as intermediarv or end-products, vv hich in the case ot cellular systems can be uitracellular or secreted), and compares them vv ith the simulated v alues ot those vaπables resulting from the encapsulated mathematical models Dep endιng on the dynamically monitored behav lor ot the production svstem the control sv -tern is able to compensate bv feeding components at different rates, feeding additional components or stop feeding some ot the prev lous components 2 Because ot the user friendly and intuitiv e interface, the bench scientists can participate in the design of the paxiuction system b\ editing the know ledge base and the v isu l models themselv es, incorporating information and data obtained in their ow n experimental research or that from other published resources It allow s the direct incorporation ot research into the scale-up operations The scientists can rapidly build models bv using the paradigm Clone, Connect, Configure, Initialize Thev select the desired building block from the manv palette- pan ided clone the building block and drop it on desired compartment, connect the building block to other building blocks in the model, configure by entering values ot attπbutes (optional), and initialize the building block to establish relationships with other building blocks in the model The information and data is entered into the svstem as attnbutes ot objects, either as user inputs, or directlv from measuring dev ices using and interface between said measuring dev ices and the computer svstem 3 The sv stem prov idesa graphical computation and control language vv here the objects communicate through the links established between them Some ot those linkages are built in vv ithin the composite prebuilt building blocks The scienhst building the model clones said prebuilt building blocks, as needed tor each part ot the model and establishes the links betw een appropriate components within different building blocks as needed Other information, such as the name, description, references or the v alues ot parameters specific tor each component are entered by the modeler in the attribute table associated vv ith each icon In addition an attribute mav be a variable 4 Variables in this svstem are themselv es objects, and mavbe t two a |or classes a) one-valued v ariables hav onlv one value which mav be either prov ided duπng a simulation bv simulation formula or a simulation procedure, or can be interred bv anv other means, such as rules or general formulas defined bv the mi ieler or b. tw o-v alued v ariables hav e tw o v alues the simulated-v alue mav as before be either prov ided duπng a simulation bv a simulation formula or a simulation procedure, or can be interred bv anv other means -uch a- rules or general formulas defined bv the modeler, and the measured-v alue is prov ided in real time through an external sensor mapped to s id v aπable The one-v alued v anables are used in such components bv default . -cause ot their smaller footrπnt, and their values are prov ided bv default bv generic simulation formulas that are specinc tor each class ot v aπable Howev er, the modeler can replace them w ith the equiv alent subclasses ot tw o-v alued variables tor each instance ot a component where the v ariable is mapped to an external sensor and when both the measured valued and the simulated v alue ot such vaπable is desired The modeler can also w πte specific formulas tor anv desired instance ot a vanable, which then ov errides the detault generic formulas It is possible, through anv of the inference mechanisms to compare the measured v alue and the simulated-v alue, (either the current v alues or the mapped at some time point in the past, since the svstem is able to keep a time-stamped history of both tvpes of values), and take specified actions hen the inference cπteπa are met Such actions include, but are not limited to cause tor a v alve tor a component feed to be more or less open or closed activation or deactivation or whole branches ot the model pathways being simulated Such actions can alternativ ely be inv oked as a result ot comparing either the measured-v alue or the simulated-v alue to anv predefined constant v alue or range of values, or the value ot any other v aπable or parameter in the svstem Or the action or set ot actions could result from inferences invoh ing anv number of comparisons betw een measured-v alues or Simula ted-v alues for anv number ot v aπables, or anv number ot parameters, or anv predefined constant vaiues s As show n in FIG 1, the system svstem ot this invention is co pwsed ot a) a reactor (102) w hich may compπse any combination ot reaction tanks termentors, bioreactors or other processing units b) one or more data acquisition dev ices (108) which may compπse anv combination ot hardw are and softw are dev ices such as sets ot sensors (106) that measure the amounts ot selected chemicals in the reactor signal transducers, filters, amplifiers data acquisition boards, appropπate dev ice driv rs or anv other required O one or more computer systems (112) compπsing CPU, memory, storage dev ice, displa y us r input dev ice linked (110) to the data acquisition dev ices (108), d) one or more computer programs (114) and one or more computer Virtual Models (116) of pathw av s ot chemical interactions and other processes in the reactor (102), w herein the computer programs (114) and the Virtual Models (116) are used to quantitativ ely or semi-quantitativ elv simulate in real-time the Virtual Models (116) w herein the Virtual Models encapsulate one or more v ariables (118) that represent the quantities of certain entities in the reactor(102) and one or more v anables (128) that represent the quantities ot certain entities or that represent certain ev ents vv hich vv hen reaching certain v alues during the simulations ot the Virtual Models (116) bv the computer programs (114) trigger certain control actions that affect the operation ot the reactor (102), and vv herein both the computer programs (114) and the Virtual Models (116) are loaded in the memorv t one or more of the computer . stems (112), e) one or more monitoring interfaces ( 120) loaded m the memorv ot on r mor of the computer sv stems (112) vv hich act as bridges or sottw are interfaces betw een the data acquisition dev ices (108) and the computer programs (112) and allow passing ot v alues (124, 126), such as the v alues ot the amounts ot certain entities in the reactor (102) as measured bv the corresponding sensors (104) to the corresponding v anables (118) embedded in the \ irtual Models ( 116) that represent said amounts t) one or more controller dev ices (138) w hich regulate the operation ot the reactor (102) such as controlling the tlow ot certain inputs (142) to the reactor (102) w herein the controller dev ices (138) are linked (1361 to the computer svstems (112), g) one or more controller interfaces ( 130) loaded in the memorv ot on r mor of the computer s y stems ( 1 2) w hich act as bridges or softw are interfaces between the computer programs ( 114) and the controller dev ices ( 138) and allow passing ot control signals generated bv the computer programs (114) as a result of the v alues of anv combination ot anv number ot v aπables (128) embedded in the Virtual Models (116) reaching certain v alues b FIG 1 also show s the directions ot flow ot data and control in the sv -tern ot this inv ention The amounts ot certain entities, vv hich are specific tor each particular process design are captured (104) bv the corresponding set ot biosensors ( 106) and, through the data acquisition dev ices ( 104) those v lues are passed (124) to the monitoπng interface vaπables w hich in rum pass those v alues (126) to the corresponding v ariables ( 118) in the \ irtual Models (116) that represent those v alues Those v aπables ( 118) are integrated ith manv other v ariables and parameters embedded in the \ irtual Models (l ib) during the real-time simulation ot the \ irtual Models ( 116), including other v ariables (128) embedded in the Virtual Models (116) that represent quantities rates or other events and which are monitored bv the programs (11 ) duπng the simulation Whenev er dunng the simulation the v alues ot anv combination ot anv number ot said monitored simulated v anables (12 1 w hich are specific tor each particular process design reach certain v alues then the programs ( 114) pass control signals (134) through the appropriate control auxiliary structures ' 132) in the controller intertaces ( 130) hich are for arded (140) to the controller dev ices (138) w hich in turn control the flow ot inputs ( 14 1 and regulate (144) the operation ot the bioreactor (102), hich is being monitored (104 ) in a continuous marine' 7 Depending on the application requirements, the intertaces mav prov ide bπdges to Superv isorv Cont ol and Data Ac-uisition (SCADA) svstems (such as the HI' s RTAP SCADA or others). Distributed Control Svstems (DCS) (such as Honevwell TDC3000 DCS or others) or Programmable Logic Controllers PLCs) (such as Allen-Bradlev s PLC3/PLC5 families or others), vv ith the adequate protocol dπv ers, as w ell as to relational databases object-oriented databases, ASCII files, as well as to a number ot other connectiv ι tv applications allo ing the program to send or receiv values over said interface The program (114) and the interfaces (120, 130) are separate processes which may be located on one or more host computers In the later case a com unications link, such as a TCP/IP or DECnet protocols based link and px>rt, is required The program can also use v aπous interfaces simultaneousl , linked to different tvpes of devices The interface sen es as a bπdge betw een selected v ariables embedded in the objects of the Virtual Models and their correspond ing mappings in one or more external systems Functions defined in the interface can be inv oked bv remote procedure calls (I -X_s) defined in the program and v icev ersa S The ideal svstem tor the intelligent control of biotechnical processes must posses a large set ot features reflecting the real-time aspects ot the control svstem, as well as the specific characteristics ot the biochemical processes im lv ed There are a v aπetv of new sensor technologies vv hich mav be used to prov ide the monitoring capabilities external to the Virtual Models Furthermore, the svstem of this inv ention allow s to integrate a v aπetv ot real-time control options w ith the ability to use mechanistic models to dπv e the automatic decision m king support tor process control υ The know ledge-based Virtual Models include model-based reasoning that models the dynamic behav lor ot proces-es on the reactor This mechanistic approach mav involve anv number ot v ariables to be monitored including those measured and monitored in the reactor and those simulated and monitored in the \ irtual Models vv hich are both used as inputs tor the inference engine to be compared against each other or against other specified v alues and hich meeting the specified conditions trigger actions that result in control operation on the reactor The Virtual Models pan ide a v isual qualitativ e and quantitativ e description ot processes that happen inside ot the reactor, as ll as a description ot the participants in those processes In some cases the reactor mav contain chemicals in solution or bound to other structures, such as carriers or membranes In other cases the reactor mav contain less defined mixture- resulting from cell extracts ' . et in other ca s the reactor mav contain cells or one or more tvpes, interacting w ith each other and with their env iroπment, the culture medium, vv here each ot such cells is an reactor itself that interact w ith other cell reactor The svstem ot this inv ention prov ides capabilities to produce more or less detailed Virtual Models ot anv ot those tv pes of reactors, or Virtual Models of subsystems vv ithin such reactors The pn.gram prov ides a domain-specific framework tor continuous and discrete process modeling and simulation w hich combines hierarchical object-oπented representation to prov ide facilities tor hierarchical systems modeling to handle multi-dimensional information model-based and know ledge-based reasoning temporal lnterencing, and dv namic real-time monitoring and control Furthermore the system ot this inv ention separates the representation ot the phv sical systems as Virtual Models fαim the monitoring and control aspect- allow ing tci integrate the same Virtual Models with different combinations of monitoring and control de-ign- to sol e difterent production needs 1 The present inv ention refers to a domain-specific, application-independent, know ledge-based and model b s obiect-oπented, iconic real-time computer system capable of being used bv scientists as a framew ork to construct specific and interactiv e information, modeling and simulation applications in the chemical and biochemical domains The present inv ention also prov ides a v aπetv ot domain-specific, application-independent tools, graphical interface and associated methods to prov ide users the capabilitv to extract interactively or automaticallv , the integrated knowledge contained in those applications or models build bv the modeler and to further use those models, among other u-_s to nav igate through the pathw av s or proces-es and explore those processes and their participants or tor quantitativ e real-time dynamic -imuiation- The computer svstem compπses a plurality ot methods, hereinafter called ' the methods and div erse ts ot objects some ot them representing either entities or concepts hereinafter called bioObjects and other representing other auxiliarv structures hich in general are referred as tools Objects are arranged in object-class hierarchies and vv orkspace hierarchies Methods mav be associated w ith a class ot obiects an indiv ldual instance ot a class or a specified group ot instances w ithin a class Libraπes of prebuilt knovv ledge-based geneπc bιoOb|ects are prov ided as the building blocks that can be combined in prescribed w av s to create div erse and new knovv ledge structures and models 2 In the descπption ot this invention the follow ing claπfications should be noted a I a pierson using the underlaying Shell to define the do ma in -specific application-independent but know ledge-based classes ot obiects their associated methods and the prebuilt know ledge-based building block- is hereinafter referred to as a dev eloper vv hile the person using those building blocks to build application-dependent models, or expanding the libraries ot prebuilt bioObjects, is hereinafter referred to a- modeler", and the person that extracts and uses the accumulated knowledge and runs simulations, is hereinafter referred to as a "user" b) text expressions are case insensitiv e, and what is referred in the description as bioObject or biυPr cess, mav be referred to in the code as bio-object or bioprocess, or the names mav appear in the code in low case or all capitalized, c) a w indυw refers to a display ot the program on a computer screen, while a w orkspace refers to one ot the manv containers ot objects that may be displayed ithm a windo , and the suhvvorkspace of an object is the w orkspace (only one) that mav be associated with that object and mav contain the components ot that ob j ect (composite ob|ect) d) tlie selection ot a menu option is equiv alent to clicking on that option and both expressions are used in the follow ing description ot this inv ention, e) expressions similar to "selection ot option A displays B" is a short form meaning something similar to ' selection ot option A causes the inv ocation ot the action or procedure specitied in the definition ot option A and, as a result ot the execution ot such action or procedure, B is displayed in the window from which option A w as selected 3 The preferred embodiment ot this inv ention integrates a v aπety ot know ledge representation techniques, as required tor creation ot v irtual models of complex systems The accuracv and validity of know ledge-based systems correlates not onlv w ith the quality ot the know ledge av ailable to the modelers but also w ith their abilitv to understand interpret and represent that knowledge The object-oπented approach prov ides a pow ertul know ledge representation ot physical entities (such as organs cells, DN A, enzymes, receptors ligands, mediators, or ions) and conceptual entities (such as pακe*ses and cellular interactions quantities and ratesi In this v stem, data and behav lor are unified in the objects 1 w o characteristics of object-oriented env ironments, encapsulation and inheritance, are very important tor the design and implementation ot the sy-tem ot this inv ention Objects are defined following class hierarchies in w hich the definition ot each class specifies the tvpes of attributes characteristic ot all subclasses and/or instances ot that class Encapsulation permits to hide the details behind each object, and encapsulation is implemented in two different forms a) at the attribute lev el, i- the standard form ot encapsulation ot object-oriented approaches, and b) at the w orkspace lev el, a ie— common form ot encapsulation related more to the iconic approach Multiple lev ls ot workspace encapsulation are supported, allowing modules w ith a multilavered structure with increasing lev ls ot detail Since the subw orkspace is not inherited through the class hierarchy, neither are the components How ev er, once a generic instance tor a class is completed ith components in its subvvorkspace, it can be added the correspionding palette as a prebuilt building block, and the resulting composite ob|ect can be cloned, in which case all encapsulated lev els of subw orkspaces are also cloned The interpreted domain-specific tramew ork approach is easv to use and allows rapid building ot iconic models The domain -expert know ledge is represented in an to understand declarative from, separated trom the methods that specified how that knowledge is used bv the program The iconic approach allow s the user configuration tor building ot models to consist primarily ot connecting iconic obiects and tilling out their tables ot attributes The v isual tramew ork enables reasoning about the interactions betw en obiects and their compartmentalization This graphical programming capabilitv is particularlv important because it allow s the continuous expansion and modification ot the -v stem neces -arv tor this tvpe ot applications, bv scientist modelers w ith no programming skills Its modularity allow - to delete oditv or create parts ot the -vstem w ithout affecting the operation ot the rest ot the svstem The know ledge can also be extended and reused under different contexts, and in different new applications The same hierarcnic architecture used to dev elop the bioObjects can be extended bv the modeler to expand the libraries ot bιoOb|ect- creating new ob|ects or bv cloning, configuring and modifv ing existing ones With its iconic format, the sv stem can be easilv brow sed and understood bv the user 14 The principle follow ed in the design and implementation ot this inv ention is the breaking dow n ot the know ledge about entities proce-ses and pathw av s down to -mailer functional units, to a lev el w here the follow ing requirements can be met a) allow ing their repeated u-e as building blocks in a v πetv ot situation- b) allow ing access to the structures and processes that are susceptible to control and regulation and c i keeping the number ot units manageable Those functional units, hereinafter called composite bioObjects are rurthe' broken dow n into operational and standardized knovv ledge and data structures These generic but domain-specific iconic objects add flexibility and allow the user to open the tables ot indiv idual instance- to input data, modify existing bιoOb|ects, or create new types of bioObjects Follow ing such pnnciple the -v stem ot this inv ention comprises a v aπerv ot domain-specific know ledge structures all encoded as obiects w hich are either a) iconic bioOb j ects on w rkspaces b) standard graphic u-er interlace obiects such as buttons data αi-plav - or input panel- o non-iconic obiects w hich are either pointed to a attributes ot other obiect- j - domain-specitic v ariables parameter- list- r arrav s or d) method- hich reter to the bioObiect- or their attributes or their components, such as actions, formulas, relations, rules and procedures, and vv hich can be _nv _κed interactively bv the user from either the bιoOb|ects or their components or from the standard graphic user interface objects, or invoked programmaticallv by other rules or procedures, and which are hereinafter referred to as the associated methods It is an ob|ect ot this invention the manner in vv hich the combination ot those tvpes ot knowledge structures encode, in a distπbuted form, the data and the knowledge that enables the svstem to compute and to reason about conditions and events defined by the developer, the modeler, anv other external source, and /or generated duπng a dynamic simulation Based on those conditions, the knowledge structures are used by the Shell to infer or simulate different behav IOΓS, while data, information and /or contail are propagated and actions are executed As can be observed by comparison ot the prior art prev iou.lv discussed with the descπption in the sections to follo , the form ot knowledge representation in the iconic models, libraries of composite bioObjects, graphical interface and associated methods, and the overall organization of the svstem object of this invention offer a v ery different and innovativ e approach that not onlv integrates the qualitahv e and quantitativ e descnphon ot chemical and biochemical objects with a set ot state and dependent v aπables, such as amounts and rates, but also incorporates temporal reasoning and generates dvnamic simulations 5 Therefore, one mnov ation of the present inv ention is the iconic interface and associated methods used to partition the domain knowledge into modular and interactive knowledge structures represented as iconic objects the connections, interactions and relations betw een those structures, and their behavior, incorporating declarativ e and procedural information Each independent functional iconic build ing-b lock, a composite bioObject, comprises a set ot iconic bioObjects and other objects and represents either a ) the descπptiv e characterization of single units ot molecular entities, molecular subcomponents, or molecular complexes, hereinafter called m general bioEntities b) the aggregation ot a number of units w ith the same characteπ sties, defined as a population of such molecular entities or molecular complexes in specific states, hereinafter called a bioPool, which together with the potential inputs to and outputs from such bioPool is encapsulated in what is hereinafter called a bioResen oir, c) the interactions between tractions of different such populations ot molecular entities or molecular complexes or their transitions from one molecular state or discrete compartment to another ov er time, hereinafter called bioProcesses d) the organization and integration of networks ot path ays composed of sets ot connected bioReserv oirs and bioProcesses organized in compartments, hereinafter called bioModel. Such low lev el bioModel. can be further organized in discrete location and time compartments, representing the subcellular organelles and the phases ot the cell cycle respectiv ely, vv hich are themselv es components ot higher lev el compartments representing single cells All those types compartments are themselv es bioModel subclasses at different lev els ot complexitv and detail in a hierarchy ot subw orκspaces h BιoOb|ect, a subclass ot the class objects prov ided bv the Shell, is the superclass at the top ot v aπous hierarchies ot classes ot objects such as the class hierarchies below bioEnhtv, biυReserv oir, bioProcess bioModel, and others Each instance ot a class is characterized bv the et ot attributes defined tor the clas- w hich can be inspected in the table ot attπbutes attached to each ob|ect bv selecting it w ith the mouse Some attπbutes define configuration information, while other attributes descπbe the composition and characteπstic- ot the object, and still others hold dvnamic state information, such as the current alue(s), data histories and status The v alue ot some attributes ot an object, such as the v anables and parameters, can be dvnamicallv modified at runtime 7 The know ledge-based modeling and simulation svstem of this inv ention interprets the information and data contained in the BioObjects' data structures, based on additional knowledge contained in the form of rule- formulas or procedures Model-based knowledge is integrated and encapsulated in the structural, functional and behav loral models represented bv the virtual iconic models or bioModels Those virtual models are defined qualitatively by the locations, connections, and relations ot their components, and quantitativ elv by their encapsulated mathematical models The constants, parameters and v ariables that define those models are distributed thaiugh the different tvpes of bioObjects, defined as their attributes, and the corres ionding tormula- and functions relate those data structures to others and characterize the particular svstem The svstem integrates propagation ot v alues, inference and control throughout the pathw avs Model-generated results are used as input information tor the inference engine, and dvnamic models can also reason about the historic v alues ot its v anables as well as projecting v alues ot v anables into the future All those different tvpes of know ledge are added b human domain experts to incrementally build an integrated Virtual Model 8 In the current implementation ot this inv ntion the vaπables embedded in the model that are set to get values from the sensors (such as the concentrations or the corresponding bioPools) inherit their properties from tw o parent classes a class of float-v aπable and a class of intertace-data-serv ice One ot the attπbutes of the later -iass is Interface which value defines the interface that will provide the current value for such v aπable The '■ aiue tor such variable, the same as tor anv other variable in this svstem, can be set to be evaluated at set intervals, or it can be set to its value having a value that expire after a set validity interval, When the inference engine seeks the value of said variable, either at the preset update intervals or when such value is needed but has has expired, a request if set to the specified interface to provide a v alue Such variables are registered in the interface After the interface is set-up, when the start_ιnterface function is called by the program and the connection established between the intertace (107) process and the computer program (115) process, the functions executed by the intertace comprise- ιnιtιalιze_context (initializes the connection between the program and the interface), pause_context, resume_context, shutdown_context, receιve_regιstratιon (called when the program seeks to map for the first time a variable to an external data point), receιve_deregιstratιon, poll_for_data (checks periodically which registered vaπables need updating, retrieved data v alues av ailable, packages the data into the data structure used by the return functions, and sends the data back to the program (115), get_data (called when the program requests data service tor one or more registered variables), set_data (called when the program executes one or more set actions within a rule or procedure, it sends a request to the intertace to set the external data point to which the registered vaπable is mapped, it also may call intertace return functions to change the value ot the registered v anable after its corresponding value in the external system has been changed) The intertaces perform also many other functions related to passing obiects and messages, checking data types, and several other API functions ° In the current implementation ot this inv ention, methods such as procedures, rules, formulas and relations, defined in a structured natural language, may apply to a single instance or a group of instances or to a class or a group of classes, and they mav include references to connections and to connected objects Methods mav refer or apply to the v alues ot attπbutes at different time points or to the behavior ot variables or parameters ov er time They can perform in response to a) given ev ents or conditions b) at predetermined time intervals, or cj upon request from other rules or procedures Methods can be executed in real-time, in simulated time, or as fast as possible, implementing different strategies concurrently and over extended penods ot time Arithmetic and symbolic expressions can be used independently or combined, and dynamic models may include from non-linear differential equations to logic expressions to simulate both analytic and/ or heuristic behavior 0 The following sections will also discuss various ot the innovative teachings of this inv ention which refer to methods and tools used to retnev e and display the stored information and data, encapsulated in graphic and interactiv e models ot complex molecular mechanisms and pathways allowing to a) interactiv ely nav igate thaiugh those pathwavs, b) perform queries that refer to a) the functional modular structure ot the bioEntities involv ed, b) the position ot bioPools downstream or upstream ot the bioPool taken as reference, c) to the location in cellular compartments ot the processes in vv hich those bioPools ot bioEntities participate, d) anv combination ot the prev IOUS three and O dynamically simulate the kinetic interactions between the bioReserv irs and bioProcesses, to mimic the regulation and function ot cellular systems 1 The svstem of this invention can be implemented lavered on top ot anv advanced real-time object-oriented expert-system dev elopment env ironment or shell that support the methodologies descπbed throughout thi- app cation, or it can also be dev eloped in total or in part from scratch, parting from any combination ot hardware and software platforms, either already existing or dev loped tor this or other purposes, that prov ide- the capabilities and means required tor this implementation In particular, and tor the purpose ot illustrating a preferred embodiment ot this invention, this svstem is currently implemented on the Version 30 or Version 4 0 o* G2 Real-Time Expert Svstem (G2) shell, an ob|ect-oπented development and deployment system produced bv Gensvm Corp ot Cambridge, Massachusetts, and hereinafter referred to as the "Shell", w hich supports dv namic simulation and temporal reasoning While manv ot the underlaying capabilities referred to below are common to other static or real-time expert-sv stem dev elopment environments some capabilities may be currentlv sp>ecιπc for G2, but equivalent capabilities can be expected to be dev eloped bv others This Shell currentlv runs on sev eral UNIX -based platforms, and it is being extended to Window s NT For detailed information about the underlaying capabibties ot this system, Gensvm Corp should be consulted Among the the geneπc domain-independent, tools and capabilities prov ided by the Shell, are a) a proprietary structured natural language, supported by a pop-up text editor, tor encoding the object definitions as well as rules, procedures, functions, relations, formulas and v alues, b) a graphical language, supported bv an icon editor, based on a v isual representation ot connected icons, and tht capability to associate workspaces w ith objects which allows the organization of know ledge at different lev els ot detail in ob j ects vv ithin objects, each represented bv icons The Shell also allow s to reason about those iconic obiects, their connections, and their locations in the w orkspace hierarch y Distant connections can be also maintained, and reasoned about betw en objects in difterent orkspaces c) an inference engine, which interprets relations, functions, rules and procedures; d) a simulator, which may compute the values for three types of linear or non-linear systems- • dependent variables or parameters, from algebraic equations, • discrete-state variables or parameters, from difference equations; or • continuous-state variables or parameters, from differential equations. e) a supervisor, which controls operations, such as task pnoπtization, asynchronous concurrent operations, and real-time task scheduling. Other real-time features include time stamping and validity intervals for data, history-keeping, and real-time data interfaces, f) a set ot predefined generic ob|ect classes, gj several inference methodologies, such as data-driven, event-dπven, goal-driven or time-driven capabilities, h) a graphic user interface development environment to create: • user controls such as action buttons, radio buttons, check boxes, and type-in boxes; and • graphic displays such as readout-tables, graphs and charts. 1) dyn mic messages, to pass information to the developer and user; j) an inspect facility, with various capabilities used in this invention to allow developers and users to. a) show on a workspace the class hierarchies of any specified class, or all the members of any specified class, as well a- the workspace hierarchy of any specified ob|ect, or the module hierarchy; b) go to any specified object in the knowledge base, displaying that object in the center of the screen; c) search for a set of objects that fit a set ot specified characteristics; d) highlight or replace any word or expression within any specified class, and e) write to a file the text of the table of attributes of any named item, or of all the items upon a named workspace k) a describe facility allows, through the "describe" menu option of any object to find out the relations between ob|ects or the elements of dynamic lists, making possible to go to the icon ot each element ot the list, which provides a very useful facility to navigate to objects selected following desired criteria used to till the list 1) a tracing and debugging facility facilitates such developer's tasks; tη) the capability ot breaking an application into a hierarchy of dependent modules; n) the message board manage text messages generated by the system, such as configuration error messages, prompt- generated at run-time, or explanations requested by the user. The system of this invention also use those facilities to generate messages that show up on the screen to indicate a wide variety of abnormal conditions appearing during modeling or simulation, such as all those expressions used in many procedures listed in the tables as: inform the operator that "...". o) support tor distributed applications, by allowing different knowledge-base modules to be located in several workstations. Communication between distributed modules is handled transparently by the Shell's built-in network protocols. A simulation application can be distributed among several workstations when the knowledge-base is distributed as well, allowing computer resources to be adjusted to achiev e the necessary perrormanct. 2 The Shell also provides a predefined object class, called "object-definition", which iconic instances have a table of attributes that provide frames or templates to define the characteristics ot new classes of objects such as. a) the names, types and default values for new attπbutes for that class, which are added to, or overriding, the set of attributes inheπted from the superior class, b) an icon specific for that class, w hich can also be inherited, and c) the stubs that define the types ot connections specified tor that class. Instances of the so defined cla ses can be created- a) programatically, in which case they are transient when created, but can be transferred to a w orkspace and them be made permanent; or b) by selecting the "create-mstance" option from the menu of object-definition, which creates an iconic instance of that class that sticks to the mouse-pointer and can be dropped by clicking on a workspace. Additional instances can be also created by selecting the "clone" option from the menu of a previously created instance. G2 provides an inference engine that operates on information from different sources, such as: values compiled in the knowledge base, simulated values, and values receiv ed from the user, sensors or other external sources, and responds to events from the user, simulator, or external data servers. 23 Each variable has an attribute called data-server, which value determines how said variable receives its value Options are the inference engine (the system gets the value from an specific formula, a generic formula, or a data seek, in that order), the simulator (the system gets the value from an specific simulation formula or a generic simulation formula, in that order), or interfaces to external monitoring devices, databases or tile systems By default, in he current implementation of this invention, the variables are simulation variables, w hich means that their data-server is the simulator. A simulation variable may have two values the current value may be optionally provided by inference engine or one of the interfaces, while the simulated value is prov ided bv the simulator Or it may have the current value provided by the simulator, in which case it has that such v alue In those particular instances w here the variables correspond to substances that are being monitored in the reactor, the variables are then set to receive tw o values, the current measured v alue, provided by the external -ensors through the appropriate intertace, and the simulated value The non-simulated v alues mav be set to -xoire after a desired peπod ot time so that the inference engine seeks a new v alue when needed Different part ot the simulation mav run at different times, as desired The time mterx al tor a simulation mav be specified at 4 different levels, in the following order ot priorities each v aπable mav hav e its own update time, each generic simulation formula mav hav e it own time increment which applies to the group ot vaπables to which said generic formula applies the simulation-model has its update inter al which applies to all the v anables included in said model, and tinallv , the hole knowledge-base has a default simulation time increment that applies vv hen none of the other hav e been specified a ) Tlie current implementation ot this inv ention allows the inclusion ot tuzzv-logic statements, such as it ( v < (+-3) ) /= ( z > 4 (+-2) ) Fuzzy truth expressions are av ailable only in the interence engine, rules and procedures, while the simulator only uses discrete values Fuzzv operators comprise is more true than, is less true than, i not more true than is not less true than, =, and /= The fuzzv truth values are assigned to expressions with a fuzzv truth band in parenthesis, such as the concentration ot receptorl > 08 (+-0 2) The truth-threshold is set tor the inference-engine as a whole For example, if said threshold is set to 0 7, for the antecedent ot a statement to be true it must be greater than or equal to 07 b) The current implementation ot this invention allows the sequential addition ot inputs to the reactor, at a time and in amounts that are appropriate tor the current status ot the biochemical processes within the reactor In the particular example below, it is expected that the concentration ot receptorl expressed on the cell surface hich is av ailable tor detection bv the receptorl -sensor, is induced at some point bv some other internal events that happen inside ot the cell Such internal ev ents are the result ot complex interactions, in turn induced bv the occuπence ot some combination ot prev IOUS ev ents, including those ev ents induced as a result ot some prev IOUS addition ot s e other ligand, or anv other chemical or combination ot chemicals, controlled bv one or more other pumps controlling inputs to the reactor This tine contail based on the know ledge about the mechanisms involv ed av oids, tor example, to add costlv ligandl to the reactor at a time w hen the cells are not readv to use it w ith the likelihood that it will be destroyed bv other enzvmes, and the risk that it w ill not be anv more activ e when the cells become readv to make u-e ot it at a later time It also could prev ent that ligandl may exert damaging effects to the cells w hen prov ided w hen cells are in the vv rong state, as it has been demonstrated tor v aπous compound- that induce programed cell death when signal from said compounds are transmitted to the cell in the absence ot other required signals 4 An example ot control statement using fuzzv -logic if the av erage er the last 3 minutes ot the concentration ot receptorl > 08 (--0 2) and the av erage ov er the last 3 minutes ot the concentration of ligandl < 0 s (+-(ϊ 1 ) and the av erage ov er the last 3 minutes ot the flow -υf-pump-Ll = the flow -ot-pump-Ll then conclude that the flow -ot-pump-Ll = the flow -ot-pump-Ll * 1 2 and call adjust-flow -ot-pump( flow -ot-pump-Ll ) , w herein a) the concentration ot receptorl and the he concentration ot ligandl are v anables coupled to the corresponding sensors tor those substances in the reactor, w hich are monitoring dev ices external to this system b) the statement the av erage ov er the last 3 minutes ot the flow -ot-pump-Ll = the flow -ot-pump-Ll prevents additional changes in the flow tor an specified period ot time, to allow the sv stem to ad|ust to the last changes and cl adιust-flow -ot-pump(flow -ot-pump-Ll ) is a remote procedure call that activ ates the external dev ice that controls the pump controlling the deliv erv ot ligandl w hile passing the v alue ot the v aπable flow -ot-pump- l to it a) In an alternativ implementation, the bioPools ot the components that regulate critical cellular ev ents or ot those that are monitored in the reactor mav ha e an additional attnbute defined as a fuzzv logic parameter w hich v lue can then be accessed bv different monitoring /control statements Fuzzv v alues mav take v alues from -1 000 true (certamtv ot being false) to 1 000 true (certainty ot being true) The v alue ot said parameter could be prov ided bv a rule, or bv a generic or specific formula defined bv the modeler, w hich is dependent on either the measured or simulated v alue ot the corresponding concentration v anable as preferred For example said fuzzv attribute mav be called av ailabilitv and its v alue could le prov ided bv a rule such as if the concentration ot anv substrate S > the Michae s-constant ot S / 2 ( -- the Michaehs-constant ot 5 _ ) then conclude that the av ilabilitv of S is true • This means that w henev er the concentration ot anv giv en substrate is greater than or equal to i. _ ot it- Michae s-constant, vv ith the truth-threshold set to 0 7, then said substrate is considered to be av ailable (av ailabilitv is 7 true) under this setting It the concentration or -nd substrate is smaller than b ζ .. ot its Michaelis-constant then it is considered to be not av ailable (a ailabilitv is l s than 0 7 true), and if the other conditions hav e been met, it w ould cause the flow -ot-pump-S to be increased For example the monitoring / control rules w ould reter to such tu7zv logic v anable- being true or talse and uld allow the mι>deler to modifv the rules tor -ingle or group- ot bioReserv oir- w ithout the need to nioditv tlie control rule- such as it the av erage ov er the last 3 minutes ot the av ailabilitv ot receptorl is true and the av erage ov er the l b ast 3 minutes of the availabilitv of ligandl is not true and the average over the last 3 minutes of the lυw-ot-Dump-Ll = the flow-of-pump-Ll then -i- In addition, the current implementation ot this inv ention allows to - a) use the simulated Virtual Model to entirely take control of when and how the inputs are added to the reactor, (or the outputs, such the culture medium or cells, removed), - b) synchronize the simulated model to the processes in the reactor, bv allowing certain critical measured v lues from the reactor to provide the values tor their corresponding vaπables in the simulated model, which are then used by other dependent v anables and propagate down the simulated model Such s y nchronized simulated moαel is the used as described in a) B The Virtual Model : Domain Specific Knowledge Representation 1 The computer svstem, methods, and interfaces that are the objects ot this invention can be applied to v isuallv model and quantitatively simulate any type of complex system inv olv ing anv type ot processes and their participants The set ot palettes of prebuilt building blocks provided should reflect the needs ot the particular domain in order to facilitate the tasks of the modeler, permitting the basic paradigm of "Clone, Connect, Configure and Initialize" and other automated methods A librarv ot prebuilt query panels and other panels, such as navigation, simulation and experiment panels facilitate the tasks for users to rapidlv extract and dynamically use the knowledge and data contained in each specific application The descπption that follow s is based on one particul r domain, that of biochemistry, to illustrate one ot the implementations of such computer svstem, methods, and intertaces Howev er, similar computer svstems, methods, and intertaces can be implemented in a similar manner tor domains other that of biochemistry For example, in a business domain, what in this description is called bioEntities can be substituted w ith different types of entities, such as employees or projects and bioProcesses can be substituted with the difterent activities in v hich both interact, the bioReactants w ith the roles thev plav in such activities, which frequently may involv e other participants Employees are like enzvmes, with the more capable having higher rate-constants Projects are like the substrates, and employees mav hav e higher affinities tor some projects, w ith a likelihood that they w ill interact in a process in w hich a quantifiable measure ot the outcome, such as quantity or lev el ot quality, vv ill depend on quantifiable measure ot the employee, lets sav amount ot time put on that pa.ject and lev el ot specific expeπence The bioPool ot each emplov ee could represent his/her time, and the ma -amount could be set to a dav, a month, a year, or anv other amount The Contπbution to each project w ould be the amount of time inv ested in that role, w hile the different activ ities will compete tor the time left available 2 In the remainder ot the descπption ot this invention, the focus will be on biochemical s\ stems, which are complex, hierarchical, heterogeneous and non-linear systems, in lv ing an interplay between the processes of transport, reaction and contormahonal change They are regulated by cybernetic flows ot information The system ob|ect ot this inv ntion uses a kinetic approach to model these chemical and biochemical systems, rather than a thermi Tdvnamic interpretation, although thermodynamic v anables are also included to allow modification ot the behav ιor ot the kinetic svstem The current approach, hich focus on the amoun of entities such a- concentrations, densities, scaled-amounts, or other quantities ot each bioReserv oir s bioPool of cells molecules, or molecular complexes, in a particular state, as a continuous function ot time, and on specific coefficients or on rate constants that, in conjunction with the current v alues ot those amounts define the v elocity ot a biol'rocess s bioEngine, and the rates of consumption of certain bioReactants that participate in such biυProcess or the rates ot production of its bioProducts, w hich are dependent on such v elocitv and specific stoichiometπc coefficients, and which are equiv alent to the rates at output and input from their connected bioPool, respectively This kinetic approach is closer to the way of thinking ot biochemists and molecular biologists 3 The cellular representation in this invention aims to reproduce the tact that function is not inherent in anv one com jonent ot the cell, but rather emerges tn>m the cooperation ot manv components, vv hich depend on compartmental organization and functional relationships, and deals ith multiple lev els of biological and biochemical structural complexity, such as physiological svstems, organs and their compartments, cells, subcellular organelles, and molecules The schematic representation on the left side ot FIC 2 show s an abstraction ot the tvpes of molecular and cellular relationships and interactions that are modeled and simulated, with unlimited lev els ot encapsulation being an important feature exploited bv this system, allowing to start dealing ith a topic with a high-level representation, and then successively "clicking" into obiects ot interest, to show the next lev el ot detail This high-lev el example, at a lo -lev el ot detail can be summarized bv w hat a biomedical expert could describe as "Oncostatin M (201 ) is a biological response modifier w hich induces different responses on different cell types a) it induces certain classes ot cells (202) to secrete the cvtokine IL-6 (203), b) it induces differentiation ot primary, coblestone-like AIDS-KS cells (204) into mature spmdie-like AIDS-Ks cells (20 *" ), w hich in turn are capable ot long-term grow th in agar w hen c ) Kith Oncostahn M and IL-6 are present This statement and its graphic representation combine know ledge at v erv different lev els of detail equiv alent to the vv av human mind can abstract knowledge For instance it deals vv ith both molecules and cells as cell-entities as if thev vv ere similar tvpes ot structures w hen in reality that is v erv tar awav from the reality Cells are composed of thousands ot different tvpes ot molecules In some cases the ov rall pathway within the cell can be known to some extent w hile in others the mechanism of a biological response mav be totally unknown The system ot this inv ention can be described in v erv similar terms On the one side bioPools ot cells and molecules can interact w ith each other, in anv combination in a v aπetv of bioProcesses as show n in FIG 32 and descnbed in more detail later On the other side, as schematically show n on the nght side ot FIG 2, the components ot each tvηpe ot cell can be modeled and analyzed at increasing lev els ot detail as contained in v aπous lavers ot bioModels (202 - 212, 216-217), until at the end ot the laver hierarch y the single bioProcesses (214) are represented and their associated bioReserv irs (215), which point to their associated bioEntities (not shown) In general the signals transmitted bv the cellular signaling or regulator y path avs progress vv ithin each cell in repeated cvcles, dπv en bv external and internal events, and sometimes time in a synchronous v av and thev mav extend from cell to cell some times activ ating the paiducer cell as well An tvpical but simplified high-lev el example ot a cellular signaling pathw av dπv en bv a certain agonist, such a Oncostatin M, is sho n in FIG 2 as agonist (201) -> receptor activ ation (206) -> signal transduction (207) -> gene transcription (208) -> mR A processing (209) -> protein synthesis (210) -> secretory protein processing (2 1) -> transport -> (receptor activ ation) Bv clicking again and again on objects at each lev el one can focus on specific areas at the desired lev el ot complexity In the one example shown in FIG 2 this multiple encapsulation process has been abstracted It illustrates a cell-bioProcess in w hich atter a cell (202) has been activ ated bv Oncostatin M (201) the secretion ot interleukin 1L-6 (203) is induced but onlv atter the sequential activation ot numerous biological processes (bioProcesses) (214) inv olv ing numerous pools (bioPools) (215) ot biological entities (bioEntities) contained in bioReserv oirs w hich are encapsulated in this simplistic example vv ithin low er-lev el bioModels each representing one the major group ot steps ot the pathway mentioned earlier (206 through 211) Clicking on anv ot these bioModels, such as DNA-transcπption (208) or secretorv-protein-processing (211) displays their subw orkspaces (212 and 216 respectiv elv), v\ hich mav in turn contain a set ot other bioModels (such as those supeπor to 21 and 21 ) and the process can be repeated anv number of times until reaching bioModels -omposeα of sets of bioProcesses (214), and their related bioReserv oirs (215) s To represent biochemical sv stems it is necessat . to refer to the characteristics and current state ot single entities and at the same time to refer to populations of entities vv ith similar properties In a small application tor molecular genetics Karp (1989) w as onlv able to represent and implement the ov erall system either as a netw ork of molecules interacting in a pathw av or as a netw ork ot v anables quantitativ elv representing the processes in a pathw a v as separated systems but he w as not able to integrate both the description ot participating entities and the quantitativ e processes This integration is one the teachings ot this inv ention Furthermore contrary to the sv stem ot this inv ention his representation vv as static and did not include temporal reasoning hav ing all processes represented as instantaneous reactions b FIG 3 show s how the intermediate submodels are preferentially organized in tvv o tvpes ot superior compartments ot a cell represented bv the different subsequent cell states represented bv the cell phases (3 ( 12 through 308) and ithin each ot those the cell-compartments (309 through 316) that represent the different cell organelles While each ot the cell-phases contain a detail description ot large numbers ot components as encapsulated in the different sublayers it has in addition a set ot characteristic parameters and time-v aπant attributes (317 thniugh 320) that can be used to model the ot a population ot cells through those compartments That concept is schematically represented in FIG 4 here some of the cells of that population XI mav keep cycling through those phases as represented bv the bioPools ot cells in each phase Go (404) Gi l (406) C . 2 (409) S (411) G: ( 413) and M (416) it some specific and required conditions are met as specified bv their corresponding transitions represented here bv the transk xation-biol 'roCesses (405 408 410 412 41 ^ and 417), or thev can exit the cv cle if other set ot conditions are met (407) and differentiate to another related cell tv pe characterized bv ditterent functions and therefore a different cell cvcle (402) or it v et other set ot conditions are met (407) thev mav dve bv programmed cell death or apoptosis (414, A cell-bioModel is represented as a set ot bioReserv oirs and bioProcesses sv stematicallv organized in the subw orkspaces of other bioModels contained in such cell-bioModel w hich represent each a separate compartment in time and location and w ithin those sets ot biologicallv related processes or pathw a At a higher lev els ot organization bioProcesses connected to bioReserv oirs of cells or cell-interactions are organized into bioModels the represent organ compartments w hich in rum are organized into organs and w hich in turn are organized into into physiological sv stems Ditterent cell-bioReserv oirs contain either populations ot ditterent cell subsets or populations ot the same cell subset in ditterent stages or in ditterent ocations. Each of those cell -bioReservoirs makes reference to a predefined cell-bioModel, which has a .naracteristic Dhenotype representative of the cells contained in that cell-bioReservoir. The different phenotypes may characterize: a) different cell lineages, b) different stages of differentiation within the same cell lineage, or c) cyclical changes in the cell characteristics over time, within the same differentiation stage. Phenotypes are sets of characteristics measurable on intact cells, and the transition of cells from one phenotype to another are represented in the present embodiment of this invention as a translocation of a fraction of the cells from the cell-pool of the former subset to the cell-Pool of the later subset. The events that trigger those transitions may be unknown, but they may be recognized by changes in measurable or functional markers, such as the appearance of a new receptor, the synthesis of DNA, the secretion of specific interleukins, or mitosis, and the relative time in which they appear or disappear may be known, in which case those transitions are time -driven. More specifically, a cell-bioEntity, which is a high-level external representation or description of a cell, may make reference to a cell-bioModel, which as described above is internally characteπzed by its components and mechanisms, represented by the pathways of bioReservoirs and bioProcesses. 8. FTG.5 is a diagrammatic introduction to important concepts upon which much of the processing and reasoning of the current invention is based, where the different layers of arrows represent the direction of flow of information and data. In this system, pathways refer to sets of alternating layers of bioReservoirs and bioProcesses connected to each other to indicate participation of the populations or pool of chemicals represented by the bioReservoirs in the processes represented by the bioProcesses, and to further indicate that the processes represented by the bioProcesses provide inputs to the pool of chemicals represented by the bioReservoirs. The result of those specific connections is a multidimensional network of interconnected biochemical pathways that determines the basic architecture of this system. That basic architecture also defines the resulting network of parameters and variables, and the specific arguments for the generic formulas that provide the v alues for those variables are determined by those connections. A bioReservoir is an iconic knowledge-structure that contains a bioPool (501 ), which refers to a population of a single type of molecule or complex contained within a limited space represented by the bioReservoir. A chemical process is represented as a bioPaicess, an iconic knowledge-structure that contains various components, including a bioEngine (504) that controls the Velocity at which the input(s) of the bioProcess. the bioReactant(s) (503), are consumed and the output(s), the bioProducts (505), are produced. BioReactants can also be said to represent the participation of certain number of units of a bioPool as the input to a given bioProcess, and more specifically, the role that such number of units of the bioPool play in such bioProcess. BioProducts can also be said to represent the participation of certain units of a bioPool as output from a given bioProcess Both types of knowledge-structures integrate bioProcesses with bioReservoirs in a complex architecture that allows to model the kind of complex systems and multidimensional pathways that are characteristic of the domain of this invention. In such integrated system, units from the bioPool of a consumable bioReactant, are transferred to the bioPool(s) represented by one of its bioPro uct(s), at a dynamically computed rate. The term upstream is used hereafter to indicate those bioReservoirs, bioProcesses, or pathways that affect the inputs to a given bioReservoir or bioProcess, while the term downstream is used hereafter to indicate those bioReservoirs. bioProcesses, or pathways that are dependent upon the outputs to a given bioReservoir or bioProcess u The fast and short-term regulation, such as the temporary inhibition or activation of enzymatic activ ity is modeled through separate bioPools of the more active and less active (or inactive) forms. Each modification ot molecules or complexes that results in qualitative or relevant quantitative changes in their activity or function. is represented as transfer of units between those different bioPools. Examples of those modifications include post -translational modifications of proteins, including allosteric changes, such as phosphorylahon, isoprenylation, and so on. The slower, long-term, regulation of enzymatic activity is modeled by induction or depression of protein synthesis, which optimizes its concentration for the newly required function. Constitutive enzymes and receptors are considered to be synthesized and degraded at a constant rate, resulting in a constant steady-state level. In regulated molecules env α>nmeπtal signals, such as the extracellular availability of a hormone or growth factor, for instance, may cause the rate of synthesis or expression of new- surface receptors to increase X-fold. If the rates of outputs are not concurrently and equally regulated by the same factor, then a new steady-state lev el will be reached, which may or may not return back to normal after the activating signal ceases. Examples of those modifications include: a) gene mutations and other modifications, b) DNA transcription, c) post-transcriptional splicing and other modifications of RNA, and d) translational regulation 10. BioPools. bioReactants, bioEngines, and bioProducts are classes of basic bioObjects that further encapsulate a variety of knowledge structures, including quantitative attributes, parameters and variables, which values, provided by simulation formulas, can be dynamically- simulated in real-time. The amount of such units compπsed in a bioPool, represented by a variable such as Concentration or other appropriate amount, is dynamically computed at run time, parting from an initial value or basal-amount set by the modeler, or in its _-_ence trom a default value set bv the dev eloper The arguments ot the v anables ot these basic knovv ledge -tinctures are the output v alues ot certain other vaπables and/or parameters that are attπbutes ot either a) the same bioObject instance or b) instances ot connected bioObjects ot difterent classes For instance, an argument tor the Consumption-Rate ot some bioReactants (503) and for the Production-Rate attribute ot anv bioProduct (505) is the v alue ot the Velocity attnbute ot the connected bioEngme (504), vv hile the v alues of the Contπbution attribute ot each bioReactant mav be arguments ot the Velocit y attribute of the bioEngme Furthermore, the Production-Rate ot some bioProducts (506) and the Consumption-Rate ot some bioReactants (507) are arguments for the Input-Rate and the Output-Rate attributes, respectiv elv, ot the bioPool (501 ) to hich they are distantly connected hile the argument of the Contπbution ot anv bioReactant (503) may be the v alue ot the Concentration attribute ot the connected bioPool Told in a different vvav, note that a) the flow ot data betw een the bioPool and a bioReactant is bidirectional, involv ing two v anables in the bioPool and tw o in the bioReactant, b) the flow ot data betw en a bioReactant and the bioEngme is bidirectional, inv lv ing tw o v anables in the bioReactant and one in the bioEngme, c) the flow of data between the bioEngme and a bioProduct is unidirectional, inv olv ing one v anable in the bioEngme and one in the bioProduct, and d) the flow of data betw een a bioProduct and the bioPool is unidirectional, inv olv ing one v anable in the bioProduct and one in the bioPool The rev ersibilitv ot anv binding can be represented in t o alternativ e w avs a ) implicitlv reflected in the output ot a single process, which is the balance in the predominant direction (as represented bv the specific or global kinetic parameters), or b) explicitly modeled as two separated processes in the forward and rev erse direction.. The v alue tor the basal-concentration basal-densitv or basal-scaled-amυunt parameters ot each population reflects the physiological steadv -state v alue w hen the rat ot change is equal to O or equiv alentlv w hen the sum ot the inputs equals the sum of the outputs The bioPools representing svn thetic agonists, antagonists or inhibitors such as drugs or toxic substances have a basal-concentration ot 00 hav e no modeled inputs other than the user-entries, and therefore the ∑ inputs = entrv v alue at the compartment w here it is first introduced How ev er, it can hav e several modeled outputs including the participation in modification-processes and trai- locahon-processes in addition to the decay term that represents diffusion, degradation and dilution It is further constrained in that the | As|*(μ+∑ outputs) < [entry] Concentrations are used in general w ithin classes ot bioPools representing soluble entities However as it is tound empiπcallv in biological svsten. most most entities are associated vv ith membranes, vv ith large polymerized structures such as the cvt skeleton or the extracellular-matrix, or associated vv ith one or more other niacaimolecules forming complexes This means that the concentration ot those bound entities is less relevant than the actual amount ot those molecules that are av ailable in the appropπate compartment at a giv en time, and therefore the term density is used to represent units per compartment Furthermore most simulations ot biological sv tems are more meaningful in terms ot relativ e amounts or ratios among the quantities ot interacting or regulatorv molecules and therefore the altemativ e v anable called scaled-amount is prov ided tor each bioPool w hich is dimensionless and therefore do not require units The v alues ot the Velocity ot the geneπc bioEngines as pan ided m the palettes are computed using the default generic simulation formulas associated w ith the subclass ot parameter or v anable associated w ith it vv hich bv default are dependent on the v alues of a set ot scaled v aπables and parameters The user can how ev er replace them with instances ot other v eil .itv-pv ar subclasses taim the libra rv prov ided (FIG 11 ) each w ith its associated geneπc simulation formula based on absolute v alues (Table 85) depending on the subclass Liv e and grow th depends upon closed cvcles ot mutuallv dependent interactions In a constant env ironment tlie proportions ot the v aπous constituents settle dow n to constant v alues and a steadv -state is reached Tne steadv-state correspond to an optimum state since the lack ot such balanced state w ould lead to rate-limiting steps When tlie env ironment changes, those paportions mov e tow ards new v alues to achiev e again optimum grow th in the new env ironment The pnnciple underlaying this sv stem's dvnamic modeling is the netw ork ot a combination ot state and dependent v anables, encapsulated vv ithm the structure of the bioObiects contained in the specified bioModel The bioObjects prov ided are programmed bv default tor steadv -state modeling A dynamic simulation is initiated atter the introduction ot desired perturbations or initial condition- bv the user and the input data initiates a torw ard chaining w hich inv olv es both control and data flow from bioReserv oir- to its connected dow nstream bioProcesses and trom these to their connected downstream bioReserv oirs ov ing along the bioModel s pathw av s Inputs trom external control svstems or databases can be also fonv ard -chained during run-time A v aπetv ot methods are then used to compute or inter new v alue- tor the v ariables or parameters deri conclusions and pass on control si nals and trigger action sequences each a- appropπate The for rd and backw ard associations between bioObjects tor runtime execution are either inherent in the connections betw een the bιoOb|ect r ar explιcιtlv configured through tlie model-blocks The required integration ot dataflow and sequential control mechanism- is accomplished in the currentlv preferred embodiment w hile taking ad antage ot the intuitiv e capabilities prov ided bv the graphical architecture w llert the bioObiects encapsulate the data to w hich related methods applv and tlie parameters and v anables are hidden but their values can be displayed The specific way the bioObjects are connected specify both data flow and control flow, representing sequential or concurrent ordering of procedure execution, and the information needed to execute an algoπthm is provided bv or interred trom the architecture The ev aluation methods ot the bioObjects involved in the simulated pathways execute in parallel during forward chaining, passing along the arguments to the posteπor bioObjects, while the arguments of the anterior bioObjects are passed to them 3 There are other parameters and variables defined in the system of this invention, which are also involved in the dynamic quantitative simulations of the visually modeled systems, and which can be incorporated in two distinct and alternative forms of simulation reasoning, absolute or scaled, as will be descπbed in more detail under the heading Simulation Mode For example, the factors that affect and define the transformation rates, such as the catalytic, binding or transfer rate ot a bioProcesses (here preferably encapsulated as the Velocitv attribute of its bioEngme), are distributed as attributes of the various connected bioObiects and compπse a ) the quantities ot the bioReactants ot different types, such as enzymes, substrates, inhibitors, and activators, or receptors, agonists and antagonists, or components ot a complex (here preferably encapsulated as the Concentration or Densitv or Scaled-Amount attπbute ot the bioPool connected to each bioReactant, which v alues can be directl v incorporated into the equation that gives the value ot such Velocity, when using the absolute reasoning, or indirectly incorporated into the equation that gives the value ot the Contribution attπbute ot each bioReactant, which holds an intermediary scaled value that is incorporated into the equation that giv es the value ot such Velocity, when using the scaled reasoning), b) the v alues ot specific kinetic parameters characteristic ot each type ot bioReactant (here preferably encapsulated as the "ettectiv e-bιndιng-sιtes" attribute ot enzymes and receptors, and the "Michaelis-constant ', ' equilibπum-dissociation constant", or equivalent attribute ot substrates, ligands, or other bioReactants, respectively, which v alues can be directly incorporated into the equation that giv es the v alue ot such Velocitv , w hen using the absolute reasoning, or, alternativ ely, the "scaled-Michaehs k", "scaled-equil dis-oc k", or equivalent attribute ot substrates, ligands, or other bioReactants, respectively, when using the scaled reasoning), or, alternatively, a global kinetic parameter specific for that bioProcess that replaces and represents the combination ot the specific parameters of each ot the bioReactants of that bioProcess (here preterablv encapsulated as the "rate-constant -sec" attribute ot its bioEngme), c) the stoichiometπc coefficients (here preferably encapsulated as the "stoichiometric-coett" attπbute ot bioProducts and bioReactants), and d) the effects ot env ironmental conditions such as temperature and pH are also speciticallv defined as attπbute- and can be integrated into the simulation within the appropriate equations 4 Chemical and biochemical reactions are continuous processes, within the time interv als that are dependent on the tvpe ot reaction and the env ironmental conditions, with the balance ot the reaction tav oπng in general the torn ard direction The strategy u-ed in the system of this inv ention is to forward chain from inputs v alues trom the user-intertace or faim databases In the preferred embodiment ot this invention, the specific w av the bioObiects are connected specify the sequential or concurrent ordeπng ot data flow , and the parameters of model equations are included as object attπbutes Model-generated results mav be used as input data tor other simulated equations or as ev ents to be used bv the inference engine These dvnamic models can also reason about the behav tor ot vaπables in the past and project the behavior of variables into the future Integrating the activ ities ot the ditterent parts ot a model system requires the simultaneous solution ot a set ot non-linear ordinary differential equations and a set of dependent algebraic equations In this inv ention, this svstem takes advantage ot the tw methods of explicit integration supported by the Shell either the first-order Euler scheme or the quadratic fourth-order Runge-Kutta scheme, depending ot the desired accuracy of the computation The updates ot the difterent v aπables may be synchronous or asynchronous, as a result ot the v anables hav mg equal or difterent update interv als The dynamic v alues ot v ariables or parameters may be displayed in both digital and graphic rorms s The default values and equations prov ided w ith the preferred embodiment ot this invention, represent an steadv-state modeling approach, since biochemical systems are better represented bv steadv-state than bv equilibrium situations The value tor the Basal-Concentration ot each population reflects the physiological normal steadv -state value, when the rate ot change is equal to 0 or equivalentlv when the sum ot the input- equals the sum ot the outputs Enzymes that are constitute ely abundant and in their activ e form hav e no effect on the steadv-state, since they are not rate limiting However, regulated enzymes, such as kinases and pho-phatases among others, mav be constitutiv e onlv in their inactiv e form, and their Concentration influence the Production-Rate of the activ e form in the same way as the Concentration ot a substrate controls it- consumption rate In the system ot this invention, the activ ation-process ot n enzv e lu other bioEntitv) mean- consuming units ot the bioReserv oir of the inactiv e form and producing units ot the bioReserv oir of the activ e form and therefore it ι- the same treatment as for anv other substrate and product The regulation ot enzv mati. activ ltv is modeled through separate bioProcesses that represent forward or feedback inhibition or activ anon _>rocesses or pathways Each modification ot molecules or complexes that results in relevant qualitativ e or juanπtahve changes in their function, is represented as separate bioEntities, which in turn are represented in separate bioPools and bioProcesses Examples ot those modifications compπse a) gene mutations and other DNA modifications, b) post-transcπptional splicing and other modifications or degradation of RNA, c) post-translational modifications ot proteins, including allosteπc changes, phosphorylation, isoprenvlation, and so on, and degradation , and d) modifications and degradation of other molecules Synthesis and degradation, as well as allosteπc changes or other modifications, mav also be implicitly modeled within the parameters that affect the Velocity ot a bioProcess, or as separate mathematical model-blocks connected to bioPools as inputs or outputs 6 The tvpes ot inhibitions in which a rev ersible or lπeversible complex is formed, such as the binding ot an antagonist to a cell-receptor and the feedback activ ation or inhibition bv secreted products, are all modeled as separate receptor-processes or complex-tormation-processes which compete in the background tor the amount ot cell-receptor available in the common bioPool, according to their respective attinities and concentrations The reversibility ot anv binding is usually not explicitly modeled, unless the complex is a target tor regulation, and it is implicitly included in the output which is the balance in the predominant direction (as represented bv Ks v s 7 In fast growing cells or organisms, the dilution factor resulting from cell growth is represented b\ a parameter μ, while in slow grow ing cells direct enzvme degradation is more important, since the lev els ot many enzvmes in animal cells is controlled bv the balance betw een enzyme synthesis and degradation, called turnov er The synthesis ot an enzvme is represented differently, depending on the av ailable information or the lev el of detail desired as a zero-order process or as a tirst-order or higher-order kinetics, proportional to the concentration ot other enzvmes or regulators that participate in the complex processes ot, while the degradation mav hav e a first-order kinetics proportional to the concentration ot enzymes, or or higher-order kinetics, depending also on the concentration ot other enzv mes or regulators that participate in the regulated degradation process Tlie total response associated with anv particular population ot receptors is represented as the maximal activ ltv ot a single receptor in the activ ated state times the receptor density, or scaled-amount, ot the bioPool representing that particular compartment 18 The svstem of this inv ention deals w ith the "incomplete information" characteristic ot biological svstems bv integrating the scaled or semiquantitativ e v alues with the absolute v alues, as discussed in later sections The scaled-v alued v aπables, such as scaled-amount, hav e values within the 00 to 1000 scale to normalize the div erse ranges ot magnitudes inv lved in the svstem The default initial values ot the scaled-basal-amounts v arv within this range to best represent the knovv ledge about the physiological steadv -state conditions As a w av ot examples a) a value ot 1000 may model an constitutive abundant enzvme, receptor, or complex-subunit in their inactiv form, w hile this v alue mav decrease at run-time as the v alue(s) ot their active or other deπv a tιv e(s) increase, so that the total remains 100 0, b) a v alue ot 50 0 mav model the normal steadv-state catalv tic concentration tor a constitute e regulated activ e state ot an enzvme or the steadv-state concentration ot a substrate, binding protein or ligand or c) a v alue close to 00 mav model anv highlv regulated induced molecule l -> Temporal reasoning is important to model and describe the causal mechanisms that dπv e biological s\ stem- Temporal reasoning is achiev ed in the svstem ot this inv ention in sev eral wav _ a) In general temporal reasoning is implicit in this real-time svstem during a simulation, w hen the v alues ot the v aπables and manv ot the parameters v arv ov er time b) Entire contents ot BioModels, such as those representing the successiv e phases ot the cell cvcle and other time-submodels vv ithin those phases, can be activated and deactiv ated ov er time bv activating or deactiv atmg the subw orkspace ot such bioModels, as specified within procedures and rules at pre-specitied simulation time interv als, or based on events generated at run-time, such as a certain v ariable reaching a threshold v lue or a combination ot both c) The subw orkspaces ot specific bioProcesses can be also programmed to be activ ated for a specified penod ot time atter their activ ation, as giv en bv its activ ation-hold-interv al attribute This attπbute can be a default lue or a v alue entered bv the user or as modified at runtime This is an alternati e to hav ing the control ot the inactiv ation ot such subw orkspace based on another ev ent It can also be reasoning by a combination or a giv en time interv al or a giv en ev ent w hatev er comes first or bv ev ents tπggeπng the change ot the v alue ot the activ ation-hold-interv al attribute in a pre-specitied manner One such option is to prov ide a tabular function such as bv looking 20 In the currentlv preferred embodiment ot this inv ention a unit ot a giv en chemical entit y , referred to as a bioEntitv, w hich describe the characteristics and state ot a single molecule or complex is considered a separated know ledge structure w hich is referred to as an attribute ot a bioReserv ir and can be accessed rro • he menu choices of this and other bioObiects, such as a bioReactant connected to its bioPool, which refers to a ropuiaπon of molecules with the characteristics described for such bioEntity. The information about the characteπstics of particular functional states of a given molecule or complex is encoded as separate instances of classes of bioEntity, as will be described in detail in later sections. Different behaviors of each bioEntity are then explicitly defined through the mechanisms represented by the bioProcesses in which bioReactants that make reference to such bioEntity participate. In other words, it can also be said that bioProcesses represent the interactions of a bioPool of such bioEntity with bioPools of other bioEntities, as defined visually through their connected bioReactants or bioProducts. Furthermore, in the present invention, a single molecule can be descπbed m more detail by and ordered and connected set of instances of more elemental bioEntities, referred to as biυEntity-components, which represent molecular functional components such as subunits, domains, motifs, active sites, regulatory sites and mutation sites. The additional levels of detail are implemented in this invention through the encapsulation of subworkspaces. In a similar way, sets of simple molecules can be components ot other bioEntities representing a complex, or of a heter-mol<omplex. Since unlimited levels of encapsulation are allowed, it is possible to start dealing with a topic with a very general visual overview, and then successively "clicking" into objects of interest, to show the next level of detail. 21. As will be described in the following sections, in the system of this invention, the methods used to process the application-specific knowledge are separated from the application-specific knowledge itself. The domain-specific but application-independent knowledge is encoded in at least four different forms, characterized by: a) the selection, combination and specific connections of the simple knowledge structures that contain the variables and parameters that quantitatively define this system, within the subworkspace of a prebuilt composite bioObject; b) the selection and design of those simple structures and their interactions as components of the composite structures, which provide for the resulting transparently interconnected architecture underlaying this system; c) the selection and definition of the specific attributes of each of those types ot structures, which describe and characteπze the potential behavior of those structures; and d) the methods in the foπn of procedures, rules, formulas, functions and relations that together provide for the monitoring, control and execution of the system. On the other hand, the application-specific knowledge is incorporated in at least two different ways, a) the selection, combination in different ways and connections of those prebuilt composite bioObjects and predefined structures; and b) the configuration of the values ot the predefined attributes of those selected structures. C Operating Facilities for Developing, Modeling, Navigating, Queering, and Simulating the Virtual Models The following descnptions of objects, tasks, procedures, and the complex processing that follows only highlights some features, and is not meant to substitute for the more detailed descnptions shown by the pseudo-code listings provided as Tables in the Appendix, as referred to within the text when appropπate 1 Developer Mode: Definition of the Building Blocks Λ) Domain-menus • The Developer Mode can be restricted to only those users with development rights, in w hich case it is the default mode when the application is started. F1C.9 shows the domain-menus associated w ith this mode in this invention, which are shown here in an expanded way to facilitate discussion ot the organization of the definitions of ob|ect classes and methods. The options shown highlighted with white background are selected options. Selecting the "Help _: Mode Menus" head (901 ) pulls down a set options, each causing upon selection specific actions, including displaying named workspaces or subworkspaces of named objects, such as panel-, palettes or libraries, or generating other walking menus. In addition, selecting any ot the available user mode- changes the mode of operation and displays the specific domain-menus associated with that user mode, both actions applying only for the window from which it is selected. Selecting Developer Mode (902) displays the additional menu heads- "Object Definitions" (903) with pull down options pointing to major groups ot obiect classes, "Variable Structures" (909), "Rules Proc's & Relat's" (913), and "Formulas _: Functions" (916) Domain-menus include walking menus, and whenever an option has additional suboptions then a new pull -down menu is created and displayed in the next adjacent menu slot. For example, selecting "bioEntitie- " (904) displays the pull-down menu headed by "bioEntities" (905), which options refer to different subclasses ot the class bioEntity, and further selecting "MoleculComponents" (906) displays the one headed by "MoleculComponents" (907), and further selecting "Protein Motifs" (908) displays a workspace (not shown ) that contains the definitions ot the class protein-motif and all its subclasses In a similar way, selecting "Variable Structures" (909) and further "Variables" (910) display the menu headed "Variables" (911 ), and further selecting "Velocity pVaπables" (912) displays the workspace shown in FIG.l 1 containing the definitions ot the class velocity-pVar and its various layers ot subclasses In other cases options bring directlv to a workspace, such as for "Rules Proc ' s & Relat's" -> "GeneralQuery Proc s " (914 ) w hich directly displav - the workspace (915) that contains the definitions of some of the procedures needed for the processing of General Queries. b) Descriptions of General Groups and High-Level Classes • The classification and definitions of the object classes is now described. Table 1 shows the different classes of obiects and groups of tools and methods compπsed in this invention, which are all knowledge structures implemented as objects. Those tools and methods are preferably organized into major groups, each compπsing sev eral object classes, which may each further comprise several levels of more specific subclasses, to be discussed in more detail in the following sections. The class bioTool (Table 6), a subclass of the class object defined within the Shell, is defined to include a variety of auxiliary iconic structures used in this invention, and has no additional attributes. Each top class of those groups is a subclass of one of the generic classes of objects defined within the Shell, from w hich they inherit a set of attributes and capabilities. Several of those capabilities may be proprietary technology specific for that Shell. For further details, the reader is referred to the G2 Reference Manual Version 3.0 or Version 4.0 and other documentation produced by Gensvm Corp., w hich are here included by reference. In this filing, only those Shell-defined attributes that are necessary to descπbe this invention will be considered, and these attributes or their equiv alents may be common to other development environments. Other attributes and capabilities not mentioned here may, however, facilitate the development tasks and improve the performance of this invention. In the following discussion, attention will be focused mainly on those attributes incrementally defined for each subciass. • There are several other basic classes defined within the Shell that the system of this invention uses w ithout relevant modifications One of those are workspaces, w hich are items used to hold and display other items, and w hich attπbutes include names, user restrictions, margin, border, background, and module assignment Workspaces can be independent higher-level workspaces, or subw orkspaces subordinated to objects. Subw orkspaces may also have the capability of being activatable, if so defined in their superior object, w hich means that the objects upon them are only active and accessible to the inference engine and the simulator w hen such sub orkspace is activated. Other capabilities of the Shell, such as flashing of the icons, changing colors, or rotation i specific patterns can be used to animate a simulation and to indicate relevant events, such as show ing the bioObjects that are activated, or which variables' values are out of range, and many other applications. • The object class definitions listed in Tables in the Appendix include only those attributes which provide new and relevant information, such as: a) "class name", b) "supeπor class ", and c) "attributes specific to class". Other attributes are listed only when relevant or modified, follow ing the following rules: - "Capabilities and restrictions" describes which additional capabilities or restrictions apply to all the instances of all the subclasses of that class The Shell-defined capabilities used in the current implementation of this invention comprise: "activatable-subworkspace", for the classes bioReservoir, bioProcess, time-compartment, and hold-bin; and "subworkspace-connection-posl" for the class model-box. - "Class restrictions" defines w hich menu options and other non-menu choices are av ailable or disallow ed, or w hich attributes are visible in the table, in each particular user mode tor all the instances of all the subclasses ot the class for w hich thev are defined. The Shell-defined non-menu choices include: "move-ob|ect", ... The Shell-defined menu choices include: " table", "name", "transfer", "create-sub orkspace", "change-size", "describe", "disable", "delete", "rotate-reflect", ... - "Inherited attributes" are usually not be listed on the Appendix, since they can be deduced bv adding up the listings of "attributes specific to class" of each of the supeπor classes. On occasions, how ever, inhented attπbutes may be listed for the purpose of summarizing disperse definitions. When an attribute is defined in more than one object-definition, the most proximal (or lower-level) definition overrides the others. - "Menu option" refer to whether the name of the object class appears as an option w ithin the new -obiect selection from the menu of workspaces, or with other words, w hether the class can have instances (if the value of this attribute is "a final menu choice") or whether the class is onlv a superior to other subclasses ( it the value of this attribute is "not a final menu choice") This attribute will be only listed for those high-level classe- vvhich are "not a final menu choice", and it is otherwise assumed that the class is "a final menu choice" - "Stubs" define each of the connection stubs for that class and their position on the class ' icon, and optionally the direction of flow and/or the name of the connection port. The stubs can be inhented from superior classes in which case the value of this attribute will be inherited, or the class may have no defined connections and the value is none, and in either C3se this attribute may not be listed. If it is not listed and the superior class have defined stubs, then it is assumed that the stubs are inhented. and if the superior class have no defined stubs, then it is assumed that the value of this attribute is none. - "Icon description" defines the iconic appearance of the icon characteristic of all the instances i the class The icon can be inhented or be specific for that class, and usually contain differently colored lavers. or _oιor-re__;ιons, which color may change dynamically at run-time, to visualize the state of the objects, such as -elected, or of their subworkspaces, such as activated. The detailed description of the icons is not included in the Appendix to save space, and in most occasions it will be simply referred to as the <na e of the class>-pa ttem, followed by its dimensions (to have a reference for the stubs), and by the color-regions, which may be referred to by rules and/or procedures. • In addition to an attπbute table and sometimes a subworkspace, each iconic object has an associated menu with a set of options. Some of those menu options, and options defined within the Shell, perform standard tasks common to all objects , such as: change-size, clone, color, delete, describe, disable, go-to-subworkspace, move, and name. Many of those tasks are self-explanatory and will not be further described. Other novel and domain-specific menu options are defined in this invention as user-menu-choices to provide interactive access by the user to important automatic or semi-automatic tasks related to the configuration of the knowledge structures and to requests diverse forms of processing and display of such knowledge. User-menu-choices are defined for the specific class named in its applicable class attribute, as in the example shown in Table 27 They appear as options in the menu associated with the icon ot every instance of every subclass of said applicable class, unless a class restnction is defined for any of those classes to exclude that option from the menu in any particular user mode . Selecting any particular options triggers one or more actions. All those domain-specific tasks provide a highly interactive user-interface and are important teachings of these invention. Those options and the methods invoked upon their selection will be discussed in later sections. Here we will focus on the definitions of all object classes and on the description ot their attπbutes. _ ι Variable Structures: * Variables and Parameters: - In the present invention, the quantitative attπbutes ot object classes may be defined as simple attnbutes, or as instances ot subclasses of parameters or variables. The values of simple attπbutes can be mi dιfιed thaiugh rules, procedures, or other actions of the inference engine. The values for the vaπable and parameters may be provided from different sources. The Shell's simulator is used in the current implementation to compute the simulated values ot variables and parameter that are integral parts of the bioReservoirs and bioProcesses, as described later, including state variables. Those values are preferentially provided by generic simulation formulas, although modelers may also provide specific simulation formulas for specific variables Users can also input values for the simulator through the input-panels descπbed below, and the program can also update values based on values received from other sources, so that values from different sources are integrated To standardize the units used during a simulation, the absolute values are preferentially entered in Molar, M/ sec, moles/liter, or seconds, as pertinent - There are large number of subclasses of parameters and variables involved in this system, as detined in Tables 2 through 15. Only a few of them are used as independent parameters or vaπables represented by their icon, and usually they have auxiliary functions, such as the x-pos and y-pos (Table 3) used to aid in the graphic drawing ot pathways on a workspace. In this invention, most parameters and variables are implemented as attributes ot the various classes of bioObjects, or other objects such as model-blocks or inference blocks, as well as attributes of other variables. Aside from the high-level classes, most of the other subclasses do not have additional specific attπbutes, but many have distinctive default settings, as specified in their listed definitions The separated subclasses allow to attach specific methods to each class, either in the form of formulas, or by referring to all members of the class in rules, procedures or other actions. Since it would be tedious and repetitious to discuss each subclass ot parameter and variable that are referred to in the system ot this invention, listed definitions of other objects, their definitions are instead listed in lumped groups by similarities and only a few that are representative or important to the understanding of the operation of the overall s\ stem •v ill be discussed in the relevant section. - In the currently preferred embodiment, domain-specific variables and parameters are subclasses of v aπou. subclasses of the the Shell's class "parameter", such as float-parameter, integer-parameter or symbolic-parameter, text-parameter or truth-parameter Those that represent parameters in this domain are grouped under the domain subclasses int-par (Table 3) or float-par (Tables 4 through 8), depending on their value types. Those that represent vaπables in this domain are grouped under the domain subclass float-pv ar (Tables 9 through 12), which are subclasses of float-parameter. The reason for these discrepancies is that In the Shell's classes "parameter" and "variable" do not fully correspond to the common concepts ot vaπables and parameters and are simply two different data structures with different constraints and capabilities This invention also defines a set of subclasses ot float-var (Tables 13 through 15), a subclass of the Shell 's cla— float-variable, as an alternative for domain attributes such as Concentration, Density and Velocity (which default are represented by pvars, as discussed in more detail in the next paragraph) or parameters such a- a v aπety ot kinetic constants (vv hich by default are represented by simple float attributes) - The Shell s "v anables" hav e capabilities important tor the implementation ot this invention, such as a) allowing the user to set a desired instance, lets sav the concentration or density attribute of a bioPool representing an entitv vv hich quantity is monitored in a reactor, to receiv e a measured v alue trom the external monitonng sensor vv hile its simulated v alue is being simulated in parallel, based on the "Virtual Model" specifications, and then by using inference rules to monitor either v alue or both values, and to compare them to a specified threshold or range or to each other, and to initiate some control actions to regulate the reactor sv stem monitored bv the sensor, and b) allowing the user to define simulation or general formulas specific tor a particular instance ot a ' variable" by writing the formula directlv in the corresponding slot for the formula in the instance's simulation subtable, while the Shell's Because the Shell s ' v aπables" are larger structures that require more memorv space, this invention uses bv default subclasses ot the Shell's "parameter' a- attributes ot bioObjects Hovv ev er, altemativ e but equiv alent subclasses of variables are also prov ided, allow ing the us r to delete the default "parameter' and replace it w ith the equiv alent "v aπable", allowing the user to then vv rite anv customized specific simulation (values provided by the simulator) or general (values prov ided bv the inference engine) formula to model that particular "v aπable" Differences between the Shell's "parameters" and ' v anables" include a) "parameters" do not hav e slots tor specific formulas but can receiv e v alues from generic formulas that apply to instances ot a class, b ) a "v aπable" mav have an initial v alue and tw current v alues, the interred and the simulated v alues, w hile a "parameter" hav onlv one value that can be either interred or simulated, c) the interred value ot a "v anable" can be set to expire after a time interv al and therefore a v aπable" mav hav e no v alue (it should not expire when the value is used by the simulator), w hile a "parameter" alw avs has a v alue, c) "v aπables' can backward-chain to seek its v alues, w hile ' parameter- cannot and d) ' v aπables" cannot be directlv referenced by procedures When using a ditterent Shell with parameters and variables with ditterent attributes and capabilities some modifications mav be neces-arv Examples ot default instances are show n in FIGs 13 through 17 (and their definitions in the indicated Table-) tor "v ariables" such as v elocitv -v ar (1301 , Table 13), model-block-output-var (1428, Table 14) model-bk κk-v ar (1430, Table 14), and tor ' parameters" such as basal-densitv-par (1506 Table 7), scaling-density-par (1508, Table 6), density -entrv-pv ar (1510, Table -*) scaled -entrv-pv ar (1512, Table 9), input-rate-pv ar (1514, Table 11 ), density-pv ar (1518, Table 10), basal-conc-par (1522. Table 7ι, conc-pv ar (1524, Table 10), contribution-pv ar (1615, Table 10), consum-rate-pv ar (1617, Table 11 ), binding-rate-pv ar (1706 Table 11), tinie-delav-par (1711, Table 8), ph-par (1713, Table 5), ph-tactor-par (1715, Table ), and produc-rate-p ar (1723, Table 11) - The details ot a "v ariable" are here discussed in reference to FIG 10 w here the attπbute table (1001) ot v elocitv -v ar shows the attribute slots prov ided to enter specific information to define and control each particular instance, such as the methods ot inference allow ed (1002) its name (1003), data tvpe allow ed (1004), optional initial v alue (1005), last recorded v lue (10(16), the number ot data points or the time period tor keeping the v alues ot the most recent history ot that v aπable together w ith the time stamps at hich those v lues were collected (1007) the period ot time for w hich each v lue is v alid (1008) the formula slot w here the user mav optionally w rite a specific formula for the interred v alue ot that particular instance! 100^), details about its optional simulated v alue (1010), which mav include an additional simulation subtable (1011 ), w hich contain slots that allow the user to optionally control the simulation ot that particular instance such as the time increment tor update (1012), a specific simulation formula (1013) and the number ot data points or the time period ot v alues to be stored ( 1014), the main table also pro ides tor the initial v alue tor simulation ( 101 ) w hether its v alue is prov ided bv the interence engine, anv simulator or external inteπaced sources such as sensors or databases(1016), and the default update interv al (1017ι - To add a v ariable or parameter of the desired class as an attnbute ot a bioObject the modeler can select the add subtable" trom the menu that appears vv hen clicking on the slot ot the v alue that attribute and then nav igate through successiv e menus to follow the hierarchy ot subclasses ot v anable or parameter in this case ot float-v anable, until the desired subclass can be selected vv hich results in the creation ot an instance ot that subclass that giv es the v alue to the attribute trom vv hich slot it was requested To replace an existing v aπable or parameter tor another, the existing one is tirst deleted and then the sequence abov is followed To define tht specific simulation formula the same process has to be follow ed Some examples i it such attπbutes compnse - Another example or whv and how specific instances ot the default ' parameters' are to be substituted vv hen needed tor the larger "v aπables" is discussed here The Velocitv attribute (1705) ot an instance ( 1701 ) ot a subclass ot bioEngme is an instance (1701 ) or a subclass ot rate-pv ar binding-rate-pv ar w hich v alue i- simulated according to a genenc-simulation-tormula that reters to uch subclass (example in Table 83) and represents a mathematical model tor all reactions ot such tvpe The Velocitv attnbute is allow ed more flexibility in this inv ntion because there are not onlv manv tvpes ι . processes depending on the participant- in each ca-e but there are also manv opinions about w hat is the most fitting equation to compute the \ elocitv ot eacn tvpe. In addition, there are two types of simulation provided by the svstem of this invention, as discussed anoer the Simulation Mode heading. One is semi -quantitative, using scaled (dimensionless) variables, and the other uses variables with absolute values. The currentlv preferred embodiment of this invention is defined bv default with a matching set of scaled variables, each with its associated simulation formula. For the Velocity attribute, depending on the biυEngine subclass, different subclasses of rate-pvar (Table 11) are used, such as: catalvtic-rate-pvar, binding-rate-pvar, dissociation-rate-pvar, modification-rate-pvar, or transfer-rate-pvar, with such scaled-values based formulas. However, the modeler can substitute those with an appropriate instance of an alternative set of more specific subclasses of velocity-pvar (Table 12), such as those shown in FIG.l 1 with more specific absolute-value based formulas. Each subclass of velocity-pvar (1101 ), such as: enzyme-velocity (1102), receptor- velocity (1103), compiex-formation-velocity (1104), complex-dissoc-veiocitv (1105), ion-transport-velocity (1106), conform -change-velocity (1107), and translocation-velocity (1108), has more specific subclasses, and each of those subclasses has its associated more specific absolute-value based simulation formula. The nomenclature used for naming each subclass indicates all the participating components and the reaction type. For example, lE.2S.H.ORD.vel__ity is meant for a bioengine.lE.2S.U, which means that its icon has at the top four specific stubs connected to one enzy _ne.r, two substrate.r and one inhibitor.r, and the formula for that instance reflects the fact that the reaction happens in an ordered fashion, that is substratel .r binds before substrate2.r, and the inhibitor is a competitive inhibitor of the first substrate. The subclasses of velocity-pvar, and their associated simulation formulas, represent only the more typical cases, but they are only a fraction of all possible cases that user may need to represent. Therefore, another alternative is provided for the modeler to wnte the simulation formula that most appropriately fits the sy tem to be modeled, substituting .vi an instance of the class velocity-var described above. - The system of this invention utilizes the history keeping capability for the values of relevant parameters and variables, as specified in their listed definitions, to graph the time-line or to reason about those historic value The user can decide to display those values in charts or other display forms. The historic values, as well as their maximum, minimum, average values, or rates of change over time can be not only be displayed, but also used by tlie user in different ways, such as storing them in external files or databases, allowing the values to be further analyzed. • Arrays and Lists - Arra y s and lists are structures that hold a number of item of values in an ordered way. The subclasses of arrays (Tables 16 and 17) and lists (Tables 18 through 20) have all the characteristics of their parent classes. as defined in the Shell, and they may have additional attributes within the system of this invention, as specified in their definitions. Arrays are indexed, and therefore each of its elements can be directlv referred to by referring to its index, while lists may be indexed or not. The length of arrays have to be predetermined, before additional values are added, while the length of lists increase automatically, as more elements are added. However, the current implementation of this invention uses arrays to permanently store the transient values of its elements by setting the "initial-values" attribute of an array equal to the desired values to be stored, separated by commas, which may be the current values of the elements of that particular array at any point in time, or the elements of an auxiliary list, as described in the section describing the methods for queπes. - One of the classes of arrays used in the current invention is query-array (Table 31 ), a subclass ot symbol-array, which instances are created by the query initialization procedures. For example, one of the uses ot a set of query arrays is for storage in each of all the instances of each class of molecular components in the Virtual Model (Table 16 ), as described later. The instances of references-array (Table 32), a subclass of text-array, refer to sets of instances of the class reference-block (Table 34) and may be attributes of instances of bioEntities, bioReservoirs or bioProcesses, or bioModels, being used as described below. Furthermore, instances of the Shell's class float-array can be used to store all the values of a desired parameter or variable duπng a monitoring session or a simulation run, which can then be stored to a file or passed to another external program or device for further analysis or processing. - Bioitem-list (Table 20) is a subclass of the Shell's class item-list with no additional attributes. The different subclasses of bioitem-list (Table 20) are restricted to instances of particular classes of objects, such as experiment-selections, bioReservoirs, and bioProcesses. This invention uses lists in various ways, including: a ι as transient auxiliary structures to process information at run-time, not visible to the users, such as instances or query-list (Table 18), a subclass of symbol-list, are used as auxiliary structures in tlie creation of querv -arrays, and instances of scroll-text-list (Table 19). a subclass of text-list, are used as auxiliary structures in the creation of scroll-areas; and b) as auxiliary structures with their icons upon a workspace, which in addition to be used to process information at run-time they are available to the user for inspection, such as those show n in FICs. 31 through 35) listing upstream and downstream bioReservoirs and bioProcesses. in reference to the bioObiects trom which they where requested Clicking on those icons bv the user causes the displav ot the elements ot the list, prov iding direct access to the objects listed and to the attribute table of the objects listed d) BioTools • Class model-block - The class model-block (Table 22) a subclass of the class bioTool, mav hav as manv subclasses as needed to represent the ditterent mathematical models needed bv the domain modeler, and some representati e subclasses are show n (Table 22) as examples Some examples ot generic simulation formulas used to compute the v alue ot the outputs tor those subclasses are shown m Table 87 Also included is a genenc-model-block, to be further defined bv the modeler, hich is a place holder tor new parameters and /or v ariables to be added, and for specific general or simulated formulas tor those new ly added variables The additional attπbutes tor the class model-block includes ' output 1 " and each subclass have additional specific attributes which are simple attributes, parameters or v anables, and which v arv in number and tvpe (Table 22) A model-block is an iconic object, preferentially used upon the subworkspace of a model-box, which encapsulates the components ot a mathematical model, as defined bv its attπbutes, where the lue of one or more of those attributes, the outputs, are dependent on the v alues ot inputs, vv hich mav be constant or may changed at run time The inputs may be hav e anv type ot origins including a ) one or more other attributes of the model-block, b) one or more attπbute- ot other objects in the Virtual Model, c) one or more values onginating trom anv external source interfaced with the svstem, such as external sensors, databases, or external simulators d) any auxiliary independent constant, parameter or v ariable, e) anv timer or meter, or f) any combination ot the aoov t - As show n in FIG 12 clicking on an instance ot model-block (1222) displavs its menu (1223) The disable' option (1224) is used hen a set ot alternativ e model-blocks is configured tor a giv n bioPool to disable those not currently in use The "table' option (1225) displays the table ot attributes (122b) and prov ides access to n- v anables Tw o classes ot v anables defined to be used as attributed ot model-blocks model-bkxk-v ar and model-block-output-v ar (Table 12) differ in the default settings onlv the former has by default a simulation -ubtable and onlv the latter keeps historv ot its value, hile both hav e an initial v alue and indefinite v liditv in ten al -o that thev alw av s hav e a v alue, and therefore can be used bv the simulator Clicking on the slot (1227) ot the attribute "output 1 " displays its subtable, the attπbute table ot an instance ot model-block-output-v ar (1228) Although the predefined model blocks classes hav e associated generic formulas to compute the v alue ot their output 1, the modeler mav want to ov erπde it bv requesting, bv clicking on the slot ot its simulation details attnbute the addition ot a simulation subtable The subtable ot the attribute ' input 1 (1229) sh ws the table ot an instance ot model-block-v ar (1230), and clicking on the slot ot the attribute simulation-details" (1231) display s its simulation subtable (1232) vv ith additional attributes, among them one ( 1233) to hold the simulation toπiiula to be vv πtten by the modeler The particular subclass selected in this example a proportional t is detined w ith tw o additional attributes gi en bv simple float attπbutes w ith default v lues ot 1 0 for "gain' (12341 and 00 tor "bias" (1235), w hich represent w hat their names indicate • Class inference-block - The class inference-block I Table 23). a subclass ot the class bioTool mav hav as manv subclasses a- needed to represent the ditterent mference models needed bv the domain modeler and some representativ e subcla— s are show n (Table 23) as examples Some examples ot geneπc simulation formulas used to compute the \ alue ot the outputs tor those subclasses are show n in Table 88 The additional attributes tor the class inference-block includes Outcome, giv en bv an outcome-par, and each subclass hav e additional specific attributes w hich are simple attnbutes, parameters or v anables and w hich v arv in number and tvpe (Table 23) An interence-bloc is an object, preterentiallv used as an attπbute ot bioObiects such as time-compartments v hich represents an mference model, as detined bv the methods pamding the value of its Outcome w hich is dependent on the v alue- ot some inputs Tlie inputs mav be hav e anv tvpe ot oπgins, including a ) one or more other attributes ot the model-block, b) one or more attributes ot other obiects in the Virtual Model c ) one or more v alues originating trom anv external source interfaced w ith the sv stem such as external sensors databases or external -imulator- dl anv auxiliary independent constant parameter or v aπable e) anv timer or meter or t) anv combination ot the abov e • Class button - The class button (Table 24) is a subclass ot bioTool vv hich additional attributes include Toggle-state A subclass ot button is action-button (Table 24) w Inch additional attribute action-pro -name, holds the name ot tlie specific procedure inv oked w hen that button is selected bv the user Clicking an action-button triggers ιt- ' -elect option (Table 2" . w hich inv okes the button-handler-callback w hich in turn inv okes the procedure detmed s attribute ot each subcla— -uch a- the one example show n tor hιde--up-w --callback ( Table 2b) tor a HIDE button Action-button- plav a -upportiv e role in this inv ention bv controlling the di-pla , and in some cases the activation, of workspaces, allow ing the interactive nav igation through the entire Virtual Model Other subclasses ot button, named tracers, initiate important interactive tasks to create and display pathw av s lists, or graphs trom a point of iew w ithin the Virtual Model relative to the bioReserv oir or bio rocess from which thev are selected - The class change-mode-button (Table 27) is a subclass of action-button vv ith the additional attπbute Mode, which upon selection starts the change-mode-callback (Table 27) A set of these buttons on a panel, vv ith the Mode and Label attπbutes ot each button of the set equal to each ot the possible values ot the user-mode attribute ot the vv mdow, allows the user to interactively change trom one user mode to another, for the particular window displaying the panel The optional behaviors ot many types ot objects in this sv stem are user mode specific, as detined vv ithin the Class-restrictions attribute ot the object -definitions of the corresponding classes, such as the actions inv oked w hen selecting their icons (Tables 20, 24, 28 30, 32, 34 4 " 52, 53, 54, 65, 66), the options that appear on their menus, or the v isible attributes - The class path-tracer (Table 28), a subclass ot the class button with no additional attπbutes has subclasses with specific methods associated with them The "show" option starts the path-tracer-handler-proc (Table 29), which calls the contigure-tracer-proc (Table 29) and one of three optional procedures, depending on the class ot the path-tracer trom which this procedure was invoked, as described in later sections related to bioProcesses Nav igation Panel, Simulation Panel, and Experiment Panel, where they play a support role bv controlling the dynamic creation and display at run-time ot interactiv e pathways of either bioReserv oirs or bioProcesses or both - The class lists-tracer (Table 30). a subclass ot the class button with no additional attributes has subclasses with specific methods associated with them The "show" option starts the list-tracer-handler-paic (Table 31 ) which calls the contigure-tracer-proc (Table 29) and one ot three optional procedures, depending on the class ot the lists-tracer from which this procedure w as inv oked, as described in later sections related to bioReserv oirs and bioProcesses, where they play a support role by containing the dvnamic creation and displav at run-time of lists ot either bioReserv oirs or bioProcesses that are either upstream or do nstream of the bioReserv oir or bioProcess here the lists-tracer is located - The class graph-tracer (Table 32), a subclass of the class button with no additional attributes has subclasses with specific methods associated with them The "show-plot" option starts the transt-graph-tracer-handler-proc (Table 33), which calls the contigure-graph-tracer-proc and one ot three optional paκ_dures, depending on the class ot the graph-tracer trom which this procedure w as invoked, as described in later sections related to bioReserv oirs and bioProcess, where they play a support role bv controlling the dv namic creation and display at run-hme of graphs that plot the values over time of kev v anables or parameters of those bioObiects The actions performed by these procedures are similar, creating first a display with a graph and each a different set ot predefined complex v anables and then establishing relationships among those v anables and the graph The components of such displav are discussed in more detail below • Other subclasses of bioTool used in the current implementation ot this inv ention include - The instances ot the class reference-block (Table 34) are used to represent each reference to published information that se e as the source for building the difterent parts ot the models Selecting a reterence-l .o k displav s the attπbute table ot each show information about the sources, such as the short-reference, author- title, lυurnal, institution and abstract - The instances ot the class bioObject-title (Table 35) are used to label subworkspaces, such as those of bioEntities, bioEntitv-notes, subModels A set ot rules (such as the examples in Table 1 ) automatically set the text of those titles, based on the label of the object superior to such subw orkspaces - The classes reference-message and sequence-display (Table 36)are subclasses ot the Shell s cla-s mes a used tor display ot text in the References Scroll and the Mol Sequence, descπbed below e) Group of Operating/Display Tools • The classes querv-panei and entrv-panel (Table 37) are both subclasses of the class uil-tailored -dialog a- defined in G2 Version 30, from which thev inherit several attπbutes used for run-time processing The difterent tvpes ot querv-panels and entrv-panels are designed as partially built master structures vv hich are dv namicallv cloned and completed at run-hme, upon requests from the user The dynamically created Entrv I'aneK i FIGs 22 33 and 35) are used to interactively set-up and start constrained nav igations, simulations, and experiments and for selection ot monitoring/control components Th dvnamicallv created Querv Panels (FIG 30) are used to interactiv ely perform predefined complex queries, based on functional modular structure, relativ e position within the path ys function (roles as bioReactants), or location in subcellular compartments - -croll-areas are structures provided bv the Shell In this invention Scroll-areas are created dynamically and _iseα extensiv elv (FIGs 30 through 35) to list and prov ide direct access named instances ot difterent types ot bioObiects For example, a scroll-area is created upon request trom an Experiment Panel (FIG 35) by selecting the BIORESERVOIRS button (3506), listing in a scrollable fashion all named instances ot bioReservoirs in the Virtual Model and providing direct access to them The scroll-messages that form the scrollable components ot the scroll-area, and which refer to the objects of interest, can be ordered alphabetically or in other way s f) Connections and bioPosts • Connections are used to connect v lSualObjects upon a workspace and are established graphically, bv the union ot the stubs attached to the bioObiects inv olv ed, or by extending a stub ot a bιoOb)ect and attaching it directlv to another bιoOb|ect, if the latter allows manual connections Several domain-specific connections are subclasses ot the Shell's class connection, and represent different abstract concepts such as inputs, outputs, links relationships, or information passed betw een objects Stubs are handles on the icons of obiects that are clicked and dragged to create the connections The definitions ot the subclasses of bioEntitv, bioPool, bioEngme, bioReactant, bioProduct and bioPost prescribe the class ot connections that are allowed at each port ot their icons, as detined in their stubs slot Direction ot flow mav also be specified in such definitions Stubs are color and pattern coded to represent the difterent types The stubs are inhented, and those stubs that are not useα can be graphically remov ed • The deπnitions ot connection subclasses, some ot which are show n in Table 38, include the descriptions ot the Cross section pattern, that prov ide each with characteristic pattern and color to facilitate v isualization and modeling tasks, and a predefined Stub length Each ot those classes is specific tor connecting particular combinations ot objects, as described below (FIGs b and 7) Stubs ot ditterent classes or subclasses are not allow ed to connect to each other, to prev ent the modeler trom makmg eraineous connections Connections co pnse the following major classes - the class p-connection represents a bioProcess input to a bioReserv oir and more specifically a bioProduct s mput to a bioPool, in terms of both unidirectional matenal flow and data flow Sev eral stubs tor p-connections are detined at the top (716) ot the class bioPool, w hich may graphicallv connected (717) to the one stub detined at the bottom ot each biopxol-p-post Also sev eral stubs tor p-connections are detined at the bottom (720) ot the class BioEngme, w hich may graphically connected (609) to the one stub detined at the top ot each bioProduct - the class r -connection represents a bioReserv oir's input to a bioProcess through a bioReactant, in terms ot both unidirectional material flow and bidirectional data flow An r-connection mav connect (719) a biopool-r-post to the bottom ot a bioPool, or may connect (6(18) a bioReactant to the top of a BioEngme Sev eral stubs tor r-cυnnections are detined at the bottom (718) ot the class bioPool In addition, the class r-connection has manv subclasses vv hich differ in their characteristic cross section color pattern, and each connects a difterent class ot bioReactant to a matching stub ot the same subclass detined at the top ot a bioEngme The definition ot each subclass ot bioReactant specifies w ithin the stubs attπbute the specific subclass ot r-connection and the definition ot each subclass ot bioEngme specifies within the stubs attribute a set ot specific subclasses or r-connections and their locations The purpose ot this implementation is to prev ent users from makmg the w rong connections, w hile directing the user to make the appropriate connections bv matching the color pattern - the class model-box-connection has three subclasses, scaled-input-box-connection (721 ) input-box-connection (722), and output-box-connection (723), used to graphicallv connect instances (FIG 8) ot scaled-mput-model-box (811 ), input-model-box (816), and output-model-box (817), respectiv elv , to predefined corresponding ports ot a bioPool The stubs tor these specific connections are detined tor each subclass of model-box, and tor each subclass ot biυl'ool at named ports, and these subclasses are color coded to guide the modeler to match the color pattern vv hen makmg the connections, - the class link defines the connections between the component bioEntities (3019, 3021) of other bioEntities representing the continuity ot an ordered sequence ot structural components - the class icon-wire is a tool used to connect a bioRole-post (703, 707 and 711) to its bioRole-Object The class graph-link is a tool used to connect either a bioEngme to v aπous tvpes ot tracers (3505, 3510, 3517 3826) or a bioPool to v aπous tvpes ot tracers (3821 3828) After the connection is made, these connections are made inv lsible bv either a rule at run-time or bv a procedure inv oked at initialization time • The class BioPost (Table 39) is a subclass ot of the Shell's class connection-post Connection-posts are like extensions ot connections that permit to phvsicallv interrupt a graphic connection and continue it on another w orkspace but w ithout interrupting the flow A teaching ot this inv ention is the design, uses and methods associated w ith the ditterent subclasses ot bioPost each referring to an iconic structure (703 or 711) that mav be distantly connected to another bioPost ot a complementary subclass (704 or 712, respectiv elv ) BioPosts are components located on the subw orkspaces ot bioReservoirs and bioProcesses and since thev are located upon ditterent sub orkspaces thev ar distantlv connected bv receiv ing the same name These structures integrate - oReservoirs and bioProcesses wherever thev are located There are several restrictions built into the svstem ir this inv ention to prevent users trom making the wrong connections, or to warn them that wrong connections hav e been made, such as when a bioReactant-post is given the same name as a bioPost that is not a biopool-r-post, or when a bioproduct-post is given the same name as a bioPost that is not a biopool-p-post The vaπous subclasses ot bioPost (Table 1 ) will be further descπbed below, within the ov erall description ot bioReser oirs and bioProcesses g) BioObjects • The class bioObject (bio-object, Table 40) is a subclass ot the Shell's class object, with various subclasses and various restrictions when in different modes, as listed BioObject comprises all the classes of knowledge structures used to represent the biochemical systems characteπshc ot this domain These object classes are characterized by their detined attributes, which can be a) simple attributes ot various types, such as text, s mbols, integers, floats or truth values, or b) other prev lously detined objects, including parameters and variables ot any ot those types, or lists and arrays ot those types of elements The values tor the parameters and v anables can be prov ided by any ot a variety ot sources, such as the user-inputs, interfaced on-line sensors, or dynamically by the inference engine (tor instance, through specific or generic formulas, rules or procedures), or a simulator (tor instance, through specific or geneπc simulation fomiulas or simulation procedures), reflecting the changing values ot the attπbutes defined within the knowledge structures and in the context selected by the user Tlie current implementation ot this invention integrates encapsulated mathematical models made ot simulated v aπables and parameters which v alues are computed bv the Shell's simulator • All bioObiects hav e at least three common attπbutes a) Names, a Shell -detined attπbute that binds one or more unique symbols to an ob|ect, b) Label a text attribute that allows to identity bioObjects that may not hav e a unique name, and c) Description is an optional text string that contains anv additional information While names are required in the current implementation tor some bioObjects to be integrated into the pathw avs, such bioReservoirs, bioProcesses, and bioPosts, labels are preferred for identification in other cases, because thev require less memory than symbols, do not have to be unique, their syntax is less restrictiv e, and otter more attrachv e options tor dispiav • Among the major bioObject's subclasses, which further subclasses are described in later sections, are - class bioNode-Object (Table 40) inherits all attributes and icon trom bioObject and have no specific attributes, and can only have subclasses, not instances Howev er, there are methods that refer to this class, and therefore, like with many other classes throughout this sv stem, the differentiation between classes mav not appear in their definitions but rather on their behavior through methods that applied to them - class bioView-Object (Table 40) inheπts all attributes and icon trom bioObject, and can onlv have subclasses, not instances A user-menu -choice labeled Details is defined tor this class Upon selection ot this option from the icon ot any instance of any subclass ot bio View -Object by the user starts the procedure go-to-v lew-proc which takes among its arguments the instance trom which it was inv oked and the current window and, depending on the value ot the instance's Toggle-slate attribute ot hide or show, it causes the instance's subworkspace to re display ed or hidden, it toggles such v alue to the other v alue, w hich is an ev ent that tires a rule that causes the instance s icon to be configured to its pressed or depressed appearance, and respectiv elv New attributes detined tor this class compπse - "references", detined tor sev ral subclasses ot bιoOb|ect, is an optional text that makes reference to the sources ot information and data used to construct and configure that instance ot anv subclass ot bioObiect tor w hich it is detined This attπbute may be defined as a) a simple text attπbute, which the user mav consult to perrorm independent searches, or using this invention search facilities, such as the Master-Reterence-Panel (not shown), or b) a reference-array (Table 17) in combination with the user-menu-choice "show-references' , w hich w hen selected by the user starts the show -reterences-ot-array-proc (Table 107), w hich display s dvnamicallv created copies ot the instances of reference-block (Table 34) referred to by the v alues ot that array - 'warnings" is an optional simple text attribute which v alue is set bv the modeler to warn the user about anv abnormalities or data included, such as, tor a bioReservoir, when that particular pool of molecules hav e not v et been observed expeπmentally , but can be assumed to exist by analogy to similar svstems, or vv hen the pool has been observ ed but the quantitativ data has been assumed This attnbute is used in conjunction with a design (723, 843) in the icons defined tor all those classes and their subclasses as a separated color-region, called flag-color, that is changed to yellow to make the user aware of the existence ot warnings, or back to anv appropriate color Those changes are automaticallv executed by procedures inv oked during initialization, or at run-time bv a set ot rules - toggle-state" is an attribute also detined tor objects w hich icons appearance change upon selection bv the user, depending on th alue ot this attribute w hich altemativ elv sw itches betw een show and hide w hen the user clicks on the icon h) BioEntities • A bioEntitv is an iconic know ledge structure that represents anv biochemical entitv or their components at ditterent lev els ot structural complexitv Each bioEntitv mav hav e information encoded in v anous vv av s including a) information and data stored in its table ot attributes and b) each bioEntitv mav hav e a subw orkspace upon w hich the components that represent its functional modular structure are v isuallv detined As show n in FIG 30 selecting from a bioEntitv icon s (3004) menu (3005) the details option (300b) displa - its structure (3007) w hich mav hav e sev eral lav ers ot detail (3008 through 3022) In the current implementation functional components represent structural components that are relev ant for the bioEntitv s function and regulation that allow the user to v isualize the structural composition The iconic composition i- also used in the inference used tor processing ot queries that inv olv e the structure w hich refer to bioEntities that hav e certain components in their subw orkspace Each functional component ot a bioEntitv belongs bv itself to a bioEntitv class either molecule or bioEntitv-component or anv ot its hierarchv ot subclasses • The class bioEntity (Table 42) a subclass ot bioObject, has numerous subclasses organized in a hierarchical structure v ith difterent lev els according to the w av a biochemist ould classif y ditterent molecules bv taking into consideration their commonalities in chemical composition in the upper levels ot the hierarchv such as protein nucleic acid or hpid follow ed bv a reference to their function such as w ithin the class protein activ e-poh peptide receptor or enzvme Table 41 show s a partial listing ot such hierarchv w ith some example- ot the subclasses at ditterent lev els Additional attributes include References described abov e • There are tw o major subclasses ot bioEntitv - The class simple-bioEntitv (Table 43) includes all the subclasses w ith simple structures that are not further v isuallv described in the current implementation and thev do not generallv hav e subw orkspaces ith additional components This class has tw o subclasses (Table 43) protein-site and protein-moditied-group each w ith its additional subclasses Additional attributes include - Id is a simple attribute that is used to hold a text to identify the instance instead ot using a unique name - Position is a simple attπbute text that indicates the position ot that component v ithm the molecule w hen applicable s U ch as the position ot an anunoacid in the sequence ot a protein and is usuallv displav ed and Supeπor-bioentitv is a simple indexed attribute that holds the name ot the first superior bioEntitv in the w orkspace hierarchy that h s a name if anv , a v alue that is computed bv the program v ithin the querv reasoning and as explained later this mechanism is prov ided to av oid repetition ot structures that are shared bv v aπous instances ot the same tamilv or ot other families that share regions ot homologv - The class complex-bioEntitv (Table 44) includes all those subclasses that can be further described bv their components in their subw orkspaces As sho n in FIG 30 selecting tiυm icon s (3004) menu (T O-i) the details option (3006) displav s its structure (3007) w hich mav hav sev eral lav ers of detail (3008 through 3022) Additional not prev louslv described attributes include - Master-bioentilv is a simple indexed attribute that mav hold the name ot a bioEntitv that is displaved w hen the user selects the details opfion This v alue is set bv the program upon cloning an existing named bioEntitv using the create-local menu option s described later BioEntities w ith no names w hich Master-hioentitv name- another bioEntitv the master bioEntitv can be considered as onlv a copv or pointer to the subw orkspace or Master-details ot the master bioEntitv but it can also hold additional information in its table ot attnbute- or in its ovv n subw orkspace or Local-details • Tlie maior subclasses of complex-bioEntitv detined to deal vv ith multiple lev els ot biochemical structural complexity include - the class bioEntitv-component and its subclasses (Table 44) represent he low er-lev l molecular functional component- such as dna-component and its subclasses such a dna-domain promoter operator and so on protein-component and its subclasses such as protein-domain protein-motit and so on and membrane and it- subclasses The subclasse- ot this class mav hav e 4 stubs ot the cla— link used to link ditterent bioEntitv -components allow ing tor branching and those stubs that are not used can be dragged aw av Additional attπbutes include Supenor-bioentitv and Position defined abov and Size - the class molecule (Table 4" . and its succes-iv e lev el ot subclas-e- such a- those ot protein (Table 4 " . nucleic-acid and so on represent the next lev el ot complexitv For example ss show n in FIG 30 a protein mav hav e a set ot domains or motifs or a combination ot both and it mav hav e in addition one or more protein-sites or protein-moditied-groups connected to the domains and or motit- at approximate locations w ith the more accurate position displav ed in the position attribute A protein domain mav also hav e in it- SV\ a set or -mailer domains or motifs or a combination ot both and it mav hav e m addition one or more proteιn--ιte- oi protein-moditied-groups including copies ot those connected to the icon ot the domain - the class heter-mol-complex and its subclasses such s nucleosome tt represent a higher lev el i t complexitv A heter-mol-complex or a complex-molecule mav be composed ot other molecules For example a -t-dna -complex mav hav e a dna or a gene icon in association vv ith one or more icons ot specific ranscπotion-tactors In turn the structure ot a simple molecule is represented bv an ordered set ot bioEntities of the class bioEntitv-component in its subw orkspace - the class membrane and its subclasses, are used to represent interactions ot sev eral tvpes ot cellular iiiemoranes w ith other molecules, • In addition to the structure in its subw orkspace, additional information about an instance ot bioEntitv can be stored in its table ot attributes, such as the example show n tor a default instance of the subclass p tv r kinase (Table 4^) The inherited attπbutes show n are successiv elv added through the hierarchy ot its superior classes molecule pattern, and enzvme, and include - Sv nonvms is a simple text attribute to list the ditterent names bv w hich a molecule or complex mav be knovv n - ln-species is a simple text attπbute to list the species or common name ot liv ing organisms in w hich that molecule or complex has been found such as all, human mouse, Drosophila C elegans, S cerev isiae and so on - ln-tissues is a simple text attπbute to list the tissues in which that molecule or complex has been found - InCells is a simple text attribute to list the cell tvpes in which that molecule or complex has been found - InOrganelles is a simple text attπbute to list the organelles w ithin a cell in which that molecule or complex ha- been found, and it mav take v alues such as plasma-membrane, cvtosυl, nucleus, and so on - Cas-number is a simple text attribute to indicate the CAS number assigned to that molecule vv hich is indexed to allow tor taster searches and has a default v alue to indicate the preferred format - ol-weight is a simple integer attribute to indicate the molecular v eight ot a single molecule or complex preferablv expresses in Daltons, - Isoelectπc-pomt is a simple float attribute to indicate the isoelectnc point ot the molecule or complex, - Sequence is a simple text attribute to contain information about the sequence ot a molecule if relev ant - Substrates-info is a simple text attribute to contain information about the know n specific substrates or group- targeted bv the enzvme, - Inhibitors-info is a simple text attribute to contain information about the know n specific inhibitors ot the enzvme - Ligands-info is a simple text attribute to contain optional information about anv other ligand that mav bind to die enzvme, • The class bioEntitv-notes (Table 4b) a class t bioTiol comprise auxiliarv structures located the subw orkspace ot a bioEntitv, that serv e as iconic containers tor ditterent tvpes ot specific information about the bioEntitv w hich can be displav ed bv selecting the 'details' menu option i) BioReservoirs • Class bioReservoir - As show n in FIGs 12 and 13 a bioReserv oir (1201 ) is an iconic obiect that represents an imaginarv container ot a population ot similar molecules or molecular complexes, represented bv a bio ool (1301 ) A bioReserv oir ha* -ev eral operational function- and encapsulates sev eral form- ot know ledge A bioReserv oir - menu ( 1 0 1 prov ide- acce-s to 3 v aπetv ot tasks to be discussed in sections below Here w e w ill define some i it the somponents inv olv ed The table option ( 1203) displav s its table of attributes ( 1204), w hich holds v alue- -et bv the modeler that in addition to prov ide useful quantitativ e or qualitativ e information to the us r mav be u-ed bv the program to set the initial conditions letore a simulation is run The v alues of som ot the attπbute- ot a bioRe-erv oir characterize the system and are stored as part ot the permanent database The v alue- ot otner parameters and v aπables pertainmg to a bioReservoir w hich are computed w hen a simulation is run, but w hich do not usuallv require to be set bv the modeler, are hidden tor conv enience as attπbutes ot the bioPiol contained in each bioReserv oir, a- described below but thev could as w ell be implemented as attnbutes of the bioReserv oir - The class bioReservoir (Table 47) i- a subclass ot bioView -Object and its subclasses (Table- 47 and 4^ > include hυund-mol-reserv oir -ol-mol-reserv ir, cell-reserv oir, exp-cell-reserv oir, genet-mol-Reserv ir s ith further subclasses All instances ot all subclasses of bioReser oir hav e an activ atable-sunw orkspace w hich means that anv object upon such subw orkspace are not recognized bv the inference engine or tlie -imulatυr unless the subw orkspace is activ ated, and therefore anv ot the tasks associated w ith their icons are not functional hen inactiv ated When the application is started, all those subw orkspaces are deactiv ated and in the current implementation ot this inv ntion thev are activ ated vv hen the general initialization procedure- are inv oked as described below In FIG 12 is show n a table ot attπbutes (1204) of an instance not v et configured -how n here ith its default v alues The unlikely default v alue ot 99e-9-* giv en to some ot thos ttπbute- hich prov ides a) a signal tor the user that an adequate v alue has not been entered v et bv the modeler and b) a branching criteria for the mferen.e engine Attributes new Iv detined tor th i- cla-s and it- -ubcla--es not prev louslv described include - Compartment (1205) is an simple attnbute optionally set by the modeler to represent the physical boundaries >r the contained bioPool - Status (1206) is a symbolic attπbute which v alue is set and used at run time bv the simulation and other procedures, as an aid in the activation of pathways and in the creation of interactive pathway displavs h can take anv ot the v alues specified in the definition table and it is not v lsible to the modeler or other users - Ref-bioentity (1207) is an optional attribute optionally set by the modeler to point to the bioEntitv instance that describes the structure of a unit representativ e ot those populating that bioReserv oir This v alue is used bv tlie program vv hen the user selects the "bioEntitv" option trom the menus of either the bioReserv oir itself or anv ot the bioReactants and bioProducts distantly connected to its bioPool, and that option appears on those menus onlv when the v alue ot this attπbute is not the default value none, - Master-bioreservoir (1208) is set only by the program when copies of named bioReservoirs are made such as those used in the creation ot interactiv e pathway displavs, and is used bv the program to displav the subvv orkspace ot the bioReserv oir referred to bv the value of this attnbute, w hen the "master-details" menu option is selected bv the user This attribute is not visible to the modeler or other users - Decay-rate-factor (1209) is a parameter which v alue may be entered bv the modeler or can be modified at run time bv rules or procedures Its defauh value is 2 Oe-4, a v alue small enough not to cause dramatic changes, but in line vv ith some experimental observ ations in the domam of this inv ention, but it should preferably be modified by the modeler to better reflect individual cases, - If-scalmg -amount (1210) is a simple attribute set bv the modeler to indicate to the program the v alue to be used to mterconv ert betw een the absolute-v alued and the scaled-v alued v anables or parameters of bioPools and their connected bioReactants The complex methods used for this conv ersions differ, depending on the classes ot bioPools and bioReactants inv olv d, as discussed in more detail under the Simulation Mode heading Its default v alue ot 100 is used it not modified bv the modeler, it the v alue ot the lt-scaling-bioreserv oir attribute i- none - If-scalιng-bioreservoιr (1211 ) is a simple attribute which v alue mav optionally be set bv the modeler to indicate to the program that the v alue ot the if-scaling-amount should be taken trom the bioReserv oir named bv this attnbute This v alue is only required or used vv hen the v alue ot the if-scaling-amount attribute is the default, otherwise, the later v alue is used and this attribute is ignored This and the prev ious attribute are not v isible in General Mode, - Scaled-basal-amount (1212) is a float simple attribute set be the modeler that represents the scaled v alue ot the amount ot units the contamed bioPool under normal or basal conditions, equiv alent to a traction ot the maximum amount that this bioPool can reach under optimal physiological conditions Smce in manv occasions in the domain ot this inv ention neither the basal nor the maximum amounts can be measured or known vv ith certain tv , this v alue represents in such occasions the best estimated guess, and it is an important semi-quantitativ e knovv ledge component The default is the unlikelv v alue ot 9 9e-99 - Physiol-abundance (1213) is a symbolic attribute w hich alue is set bv the modeler to indicate the physiological lev el ot abundance ot the contamed entitv in the compartment represented bv that bioReserv oir It is a sv bolic replacement ot the prev ious attπbute vv hen the 9 e- -» has not been modified bv the modeler The v alues allow ed tor this attπbute in this inv ention are highest, abundant, steadv-state, low -induced or onlv induced w hich currentlv correspond to the scaled v alues ot 1 0, 0 9 0 5, 0 1, and 1 0e-9, respectiv elv Hovv e er this detault scale can be changed to different v alues, and additional svmbols and v alues can be added to the scale As and alternative tuzzv-sets can be defined for the v alues ot this attribute, and tuzzv-logic can then be applied to those v alues The reasoning tor using the v alues ot either the prev ious or this attribute, in conjunction w ith one or more ot the follow ing attnbutes, are discussed in more detail under the Simulation Mode heading - Normal-basal-concentration (1212) is a float simple attribute set be the modeler that represents the physiological av erage v alue ot the concentration ot the entitv contained in a sol-mol-reservoir - Normal-basal-density (instead of 1214) is a float simple attnbute set be the modeler that represents the av erage v alue ot the densitv ot the entity contained in a bound-mol-reserv oir - Physiol-max-concentration (1215) is a float simple attπbute set be the modeler that represents the physiological maximum value ot the concentration ot the entity contained in a sol-mol-reser oir - Physiol-max-density (instead of 1215) is a float simple attribute set be the modeler that represents the pnvsiological maximum v alue of the densitv ot the entity contained in a bound-mol-reserv oir - Selecting the ' details' option (1216) displavs the subworkspace ( 1217) w hich contain the components that characterize a bioReserv oir The classes ot those components that are using in the modeling process are defineo below , vv hile other auxiliary structures are described in later sections The descπptiv e quahtativ e, structural and functional information ot a bioEntitv is kept in this inv ention separated trom the configurable additional quantitativ e information that characterizes each bioReserv oir allow ing the Ret-bioentitv ot sev eral bioReservoirs. representing populations of the same type of entity in different locations or points in time, to point to the same bioEntity to reduce the size of the Virtual Model • Class bioPool - The class bioPool (Table 49) is a subclass of bionode-object and comprises several subclasses, such as sol-mol-pool, bound-mol-pool, ... , including those defined in Tables 50 and 51. A bioPool is detined with a characteristic icon with two sets ot stubs of two classes of connections: a set of p-connection stubs at the top ot the icon, and a set of r-connection stubs the bottom of the icon. As described above, each p-connection stub (716) is to be connected (717) to a biopool-p-post (712) and each r-connection stub (718) is to be connected (719) to a biopool-r-post (704) on the subworkspace of the bioReservoir, which allow to establish distant connections to a bioReactant and a bioProduct, respectively, and allow bidirectional flow of data and control between them As shown in FIG.13, every instance of bioPool (1301 ) has an associated menu (1302), and selecting the "table" option (1303) displays its table of attributes (1304). Several of the attributes of a bioPool are variables or parameters, which include a density-related set and a concentration-related set, which values do not have to be set by the modeler (with the exception of the basal quantities, which are preferably set by the modeler if known, but they are not required, since they can be computed from the set values of other attπbutes ot the bioReservoir, or their default values), since they are inferred or simulated, as described under the Simulation Mode heading The units of all the parameters and vaπables of all bioPools connected to the same bioProcess have to be appropriately matched. Newly defined attributes of bioPool comprise. - Basal-Density (1305) is given by a basal-density-par (1306). The subclass sol-mol-pool has additionally a Basal-Concentration (1321 ) given by a basal-conc-par (1322). The values of either of these attnbutes may be set by the modeler to indicate: a) the normal physiological steady state density or concentration, or any other appropriated measured or assumed value, for physiological molecules or complexes, or b) 0.0 for pharmacological or other molecules that are added to the system from an external enviainment This value is required for any bioReservoir that participates in a simulation, and if its default value has not been overridden by the user with a new value, the program sequentially pursues other sources of the Basal-Density value, as determined by a geneπc basal-density-procedure which is called during the activation process of a simulation, only for those bioReservoirs that have been activated for a simulation; - Scaling-Densily (1307) is given by a scalin -density-par (1308) which value is inferred by a procedure invoked at initialization, as discussed in more detail under the Simulation Mode heading. This value is used by simulation formulas to interconvert scaled values and absolute values - Density-Entry (1309) is given by a density-entry -pvar (1310). It takes the value of a user-input at a time, or different times intervals, duπng simulation as defined by the user in an input-panel, during the simulation set-up process. It has a default value of 0.0, and a new value may le inferred and set by a procedure called when the simulation is started, and, after the new inferred value has been propagated, it reverts back to the default value of 00 This value is an argument to the Accumulation, where it is summed to other inputs and outputs, - Scaled-Entry (1311) is given by a scaled-entry-pvar (1312), and it is the scaled equivalent ot the Density-Entry, with its value set and used in a way similar to that described above, - Input-Rate (1313) is given by a input-rate-pvar (1314), which value is given by a simulation formula that sum- all the visually defmed inputs, including- a) the current values of the Pro uction-Rate ot all the bioProduct- connected to the biopκκ.l-p-posts of the bioPool, if any; and b) the mput modeled by means ot a model-block contained in any connected input-model-box (or scaled-input-model-box), if any; - Output-Rate (1315) is similarly given by a output-rate-pvar, which value is given by a simulation formula that sums all the visually defined outputs, including: a) the current values of the Consumption-Rate of the consuming bioReactants connected to the biopool-r-posts of the bioPool, if any; and b) the output modeled by means ot a model-block contained in any connected output-model-box, if any, - Accumulation (1316) is given by an accumulation-pvar, a time variant and continuous state variable which represents a quantity in the classical systems dynamics sense which, given an initial value here set to be equal to the basal-amount (or scaled -basal-amount), as discussed under the Simulation Mode heading, integrates the input-rate, the output-rate, the mput entered by the user through an input-panel, if any, and the decay term, which is a function of the current value of the Concentration or Density as given by the decay -rate-factor ot the bioReservoir (a decay rate constant in sec Λ (-l )) which represents a vaπety ot outputs not modeled visually or through a model-block, including the degradation and diffusion components) Since at steady-state the ov erall rate ot output is equal to the overall rate of input, then, by definition, the Accumulation should approach 00 in a closed system, in the absence of additional external disturbances, such as user-inputs or inputs modeled bv model-blocks. - Density (1317) is given by a densιty-pvar (1318) which value represents the number ot molecules, complexes, or cells per liter, or anv other unit of volume, such as the volume of the reaction mixture in a reactor The -ubclas- sol-mol-pool has the additional attribute Concentration ( 1317) given bv a -caling-density-par (1318), w hich '. aiue in M (Molar) represents moles per liter In the implementation used to illustrate this invention, -lmuiations operate bv default based on the Density of the bioPools involv ed In the case of sol-mol-pool, where the quantities used bv scientists mav be most commonly given as Concentrations the second set ot concentration related v anables is defined to facilitate user-input, but those quantities are preferably transformed into densitv-related vaπables bv the program, using Avogadro's number (6023e23 molecules per mol), before integration with other quantities However, several other types of quantities could be used as well, with little conversions to other units ot measure, such as activity (X-units times -unit), amount (X-units), or others types of densities (such as X-units per Y-unit) The same concepts and the same type ot formulas, rules and procedures apply to other-quantities, and a variety of units mav also be allowed for entnes from the user or other external sources, bv providing lookup-tables or any other standard methods tor automatically converting any of those units to the desired target units Hence, the modeler has the option to design and define a system totally or partially based on a difterent quantity measurement, as long as proper care is taken to maintain consistencv throughout the system In those cases, the quantities entered bv the modeler in the attnbute slots ot the bioReservoir that refer to physiological lev els would also have to reflect those different sets ot units - Scaled-Amount (1319) is given by a sca ng-density-par (1320), which v alue represents an scaled, dimensionless, altemativ e to Density, Concentration, or any other absolute-v alued quantity This attπbute I- used in the default scaled reasoning, which is the preferred method w hen dealing with biological systems, when absolute quantitative data is incomplete, and much ot the data available is from relative measurements The Scaled- Amount can be conv erted into a Density, and viceversa, bv usmg the v alue of the Scaling-Densitv ot the bioPool • Class bioPool-post + The class bioPool-post is a subclass ot bioPost (Table 52) and has tw o subclasses biopool-p-post (712) w hich is to le connected to an input p-connection at the top of a biol'ool's icon, and its name is to be given to one bioproduct-post to establish a distant connection, and biopool-r-post (704, 708) which is to be connected to an output r-connection at the bottom of a bioPool's icon, and its name is to be giv en to one bioReactant-post to establish a distant connection BioPool-posts are located upon the subworkspace ot a bioReserv oir and connected a bioPool, w hich function in combination with bioRole-posts is to connect the bioPool to one or more bioEngines The additional attnbutes tor this classes include - Id is a simple text attπbute used as a unique identifier, instead of the unique name, in some tvpes ot processing, such as in the altemativ e simulation procedures described in that section, - Ref-bioprocess is a pointer to the bioProcess instance that contains the bioProduct or bioReactant to vv hich the biopool-p-post or biopool-r-post, respectiv ely, are distantly connected The v alue is interactiv elv set bv selecting the "set-rets" menu option ot the bioproduct-post or bioReactant-post to which it is distantly connected,, and it is used bv the paigram for interactiv e nav igation through bioReserv oirs and bioProcesses a- descπbed below • Class model-box - As show n in FIG 12 a model-box is an iconic object located upon the subw orkspace ot a bioReserv oir and connected to its bioPool w hich function is to hold and connect the optional model-blocks on its subw orkspace to the bioPool The class model-box (Table 53) is a subclass ot bioTool and has three subclasses each plav mg a different role as their name indicate scaled -in put-model-box (1218) input-model-box (1236), and output-model-box (1237) Model-boxes are interactiv ely created bv selecting a menu option ot the closest bioPiol as described below An instance ot model-block is connected manually to the connection-post ( 1238) w hich comes w ith the subworkspace ot a model-box The superior connection of such connection-post is that detined bv the stub of the model-box that contains it, and therefore the model-block (1222) connected to it is distantly connected to th bioPool to w hich the model-box (1218) is connected The menu options a ailable for all subclasses ot model-box are ditterent, depending on the user mode When clicking on a model-box (1218) in anv ot the user modes bypasses its menu (1219) and selects the ' show-sw " option (1220), w hich causes it- subw orkspace (1221 ) to be displayed |) BioProcesses • Class bioProcess - The class bioProcess (Table 54) is a subclass ot bioView-Object, and comprises the subclass cell-bioProce-s A- -hown in FIGs 14 and 15 a bioProcess is an iconic ob)ect (1401 ) w hich subw orkspace ( 1407) contains components that v i-uallv represent the preconditions (bioReactants) the process engine (bioEngme) and the effects (bioProducts) ot a paicess as connected ob|ects w ith encapsulated v anables and parameters that describe the process qualitativ elv and quantitativ elv The subw orkspace ot bioProcesses is activ atable allow ing to control the a ilabilitv ot its components bv activ ating or deactiv ting the subw orkspace In the -urrent lmDlementation those subworkspaces are activated with the general initialization procedures, as jescn. ed under the General Mode heading The many different types of bioProcesses are all instances ot that class or its subclass, and differ mainly in the iconic components upon their subworkspace The ditterent types are also v isuallv distinguished by different colors for the type-color region of their icon, which is changed programme tically to be the same color as the color of the type-color region ot the bioEngme thev contain r A bioProcess has several operational functions and encapsulates sev eral forms ot knowledge Each instance ot bioProcess has a menu (1402)pro\ ides access to a v aπetv of tasks to be discussed in sections below Here we will define some of the components involved The "table" option (1403) displays its table ot attributes (1404) which holds various attributes, some ot which have v alues that are set bv the modeler and provide information tor the user, and others are auxiliary attπbutes hidden trom modelers and users w hich v alues are set and used onlv bv the program at run-time Most attributes specific tor this class have been prev IOUSIV described tor other classes Newly described attributes include - Master-bioprocess (1405) is set bv the program when copies ot a named bioProcesses are made, such as those used in the creation of interactiv e pathway displays, and is used by the program to display the subworkspace ot the bioProcess referred to by the v alue ot this attribute, w hen the ' master-details" menu option (v isible onlv when the attribute has a non-detault v alue) is selected bv the user This attribute is not visible to the modeler or other users - The "details" option (1406) displavs the subworkspace (1407) with all its v isual components In addition to other auxiliary structures to be discussed below, the main components comprise a single bioEngme (1 01 ) which represents the interactions between the inputs represented bv the bioReactants (1408 and 1419) vv here the bιol'roduct(s) (1518) are generated - As described below (FIC 32), a cell-bioProcess mav contain bioReactants and bioProduct that represent pool- ot cells, in addition to containing bioReactants and bioProduct that represent pools of chemicals So it i- possible to hav e bioProcesses where molecules interact with molecules, as well as cell-bioProcesses v here molecules (3205) interact with cells (3204), or cells interact with cells In addition there mav be a pool ot pairs ot mteracting-cells as a result ot cells interacting ot cells (not shown) Other type ot bioProcesses represent translocation pn icesses between location compartments, w here the bioReactant represents a traction ot a giv en bioPool in a given compartment w hich is remov ed ta>m that bioPool and transferred, ith a time-lag it so desired, to the target bioPool which is connected to the bioPaiduct, and which represents a difterent pool the same entity in a difterent compartment Additional types of bioProcesses represent transfer ot cells from a bioPool representing one state ot those cells to another bioPool representing a difterent state ot those cells Each ot these types of bioProcesses contain the appropπate subclasses on bioEngines There are manv other types ot biol'axesses detined m this in ention and, in addition to those examples already mentioned, some others are discussed with the modeling approaches below Manv more tvpes ot processes can be represented bv composing additional types ot bioProcesses by a modeler skilled in the art • Class bioEngine - The class bioEngine (Table 5b) is a subclass ot bionode-object and compπses a hierarchv ot subclasses A tew examples ot vv hich incremental definitions are shown in Tables -* through 5?; such as amplitier-bnengine binding-bi engine, lumped-bioengine and cell-bioEngme Each bioEngine s icon has a number ot stubs ot ditterent tvpes ot r-connections at the top, to be connected onlv to bioReactants, and a number of stubs ot p-connections at the bottom, to be connected onlv to bioProducts Tlie number and class ot defined specific r-connechons specify the ditterent classes ot bioReactants to be connected, such as enzvme r, substrate r inhibitor r, receptor r, agonist r, antagonist r or unit r The bioEngmes of the class lumped-bioengine, including those with two or more enzvmes. represent lumped models ot a two or more reactions in series and are used to model stretches ot pathways vv Inch detail is either not desired or not knovv n, and onlv the rate limiting reactions are represented - The ma|or subclasses ot bioEng e (Table 55) are arranged according to the tvpe ot reaction or process thev represent, indicated by their names The next level of classes usuallv refers to the type ot activ ltv ot the members of the class and is usuallv characterized bv the class ot the v aπable that defines its Velocitv attribute Further subclasses ot each ot those classes are detined according to the number and tvpe of their defined stubs u hich in rum determines the number and classes of connected bioReactants, and further bv color coding the icons to show further specialization, such as us ' ing difterent type-color tor difterent tvpes of enzvmes, such as protein-kinases protein phosphatases, and so on Further differentiation betw een particular instances can be generated bv selecting as the v alue ot their Velocity attribute an instance ot difterent subclasses of v elixitv-pv ar The nomenclature used tor each subclass refers to the detined bioReactants such as - bicengine El S2 II Em is an enzvme-bi engine that represents an enzvmatic reaction and w hich icon has at the top tour stubs one tor the enzvme r two tor substrate! r and subsfrate2 r and one tor an inhibitor r - bioengme Rl LI Anl Rm is a receptor-bioengme which icon has at the top three stubs one for the receptor r one tor ligand r, and one tor an antagonist r, - bioengme Ml Efl Anl CCm is a contorm-change-bicengine that represents an duced conformational change process which icon has at the top three stubs one tor modifier r, one tor effector r, and one tor an antagonist r - bi engine U2 CFvn is a complex-tormation-bioengine that represents the formation ot a complex from tw prev IOUSIV independent bioEntities (which mav themselv es be complexes) and which icon has at the top tw o stubs one for unitl r and one tor unιt2 r, - bioengme Cl Ml CDm is a complex-dissoc-bioengine that represents the dissociation ot one complex mduced bv a mediator into two or more independent bioEntities (vv hich mav themselv es be complexes) and vv hich icon has at the top tw o stubs tor complex r and mediator r - biiengine chl ul LI ICm is a channel-bioengme w hich icon has at the top three stubs one tor channel r one tor ion-Input r, and one tor antagonist r - bioengme Cl Inl T is a translocation-bioengine that represents a translocation bet een ditterent compartments and which icon has at the top two stubs one tor carrier r and one for input r, + As show n in FIG 1 a bioEngine (1501) is located upon the subworkspace ot a bioProcess that represents the action ot anv process, such as synthesis, modification, complex-formation, translocation, diffusion degradation and so on Selecting the ' table option (1503) taim the menu (1502) ot a bioEngine (1501) displavs its table ot attπbutes (1504) in this case with the default v alues Newly defined attributes not prev iousIv described mclude - Velocity (1505) is an attribute specific tor each subclass vv hich v alue is an instance ot anv of the subclasses or rate-pv ar described above w hich tor the receptor-bioengme shown is a binding-rate-pv ar (1506) The v alues tor this dependent v anable are prov ided bv geneπc simulation formulas that model the rate ot the interactions ot the bioReactants connected to the bioEngine Its arguments mav be the Contnbutions ot each of its bioReactants w hen using the scaled set ot v anables and formulas, or the bioReactant s kinetic-coetticients and the Densities, Concentrations or other quantities ot the bioPools connected to the bioEngme through the bioReactants Its output is an argument tor the Consumption-Rate and Production-Rate ot the connected bioReactants and bioProducts, respectiv elv Therefore, this attribute mav take as arguments either a set ot scaled-v alued v anables and/or parameters, in vv hich this attribute would be also scaled-v alued, or a set ot absolute-valued v ariables and /or parameters in w hich this attπbute would be also absolute-v alued, respectively - Rate-constant-sec (1507) is a simple float attπbute w hich v alue mav optionallv be set bv the modeler to prov ide the rate-constant in seconds for the ov erall process This v alue is used m combination w ith the Contribution, bv the set ot generic simulation formulas that use the scaled set ot v anables vv hich is currentlv the default mode ot operation The default value is used if no other v alue is set bv the modeler - Tau-coef f (1508) is bv default a simple float attribute which v alue mav optionallv be set bv the modeler to modifv the rate-constant-sec bv such factor allow tng tor testing the effects ot a modification ot such parameter on the simulation ot the svstem vv ithout hav mg to change the v alue ot such parameter vv hich mav hav e been obtained experimentally This v alue is incorporated bv default in the generic formulas prov ided, and if not configured bv the modeler multiplying bv its default v alue ot 1 0 has no effect on the system - Bias (1 ->) is a simple float attπbute vv hich v alue mav optionallv be set bv the modeler to modifv bv a constant amount the rate-constant-sec tor testing purposes w ithout hav ing to change the v alue ot the later attribute This value is incorporated bv default in the generic formulas paiv ided and if not configured bv the modeler add g its default v alue ot 00 has no effect on the svstem - Time-lag (1510) is an optional time-interv al attribute that mav be useful for certain instances of bioEngine- v hich v alue, giv en bv a time-delav-par (1511 ), is optionallv set bv the modeler to indicate the period ot time bv vv hich the forvv arding of the computed output ot the Velocitv ot a bioEngine is delaved It represents a time delav equiv alent to holding an amount trom a bioPool for the specified period ot time vv hich is returned atter that time has elapsed An example ot its use is w hen a bioReactant and a bioProduct ot this process are both connected to the same bioPool and the forw arding ot the output v alue ot the Velocity is delaved The v alue ot tins attπbute mav also be modified at run time as a result of dvnamic events related to this or other processe- and mav be simulated or interred bv means ot modeler-defined formulas rules or paxedures - pH (1512) and Temperature (1516) are optional float attributes w hich v alues are giv en bv a ph-par (1513) and a temperature-par and vv hich, as their name indicate, represent the env ironmental conditions under vv hich the process takes place The v alues ot these parameters mav v arv at run time, as a result ot dvnamic ev ents related to this or other proces-es and mav be simulated or interred bv means ot modeler-denned formula- rule- or paxedures - pH-deviation-factor (1514) and Temp-d eviation-factor (1 17) are optional float attribute- w hich v alues are giv en bv a ph-tactor-par ( 151 ) and a temp-tactor-par and w hich are used in coniunction w ith pH' or ■ emoerature", respjechvely, and represent a correction factor that either accelerates or deaccelerates the process nen the values of either the pH or the temperature deviates trom their defined default values It used, the values of these parameters may remain constant or may vary for different values ot the pH or temperature, a- defined by a tabular function similar to a look-up table * Class bioRole-Object - The class bioRole-Object (Table 59) is a subclass of bioObject, and has two subclasses bioReactant and bioProduct. A bioRole-Object is an iconic object that represents the role that units from a bioPool plays in a bioProcess, either as a different types of bioReactants, such as. enzyme.r, substrate.r, mhibitor.r, subunit r, receptor r, agonist r, antagonist r, carπer.r, and so on, each representing the specific roles of the inputs that different bioReactants provide to the bioEngme, or as a bioProduct - As shown in FIG.14, a bioReactant (1408 and 1419), is connected bv an input r -connection at the top ot a bioEngine, and represents the mateπal contπbution from a bioPool to the bioEngme to which it is connected To be operational, the bioReactant-post connected to a bioReactant must have the same name as one of the bioPool-r-posts connected at the bottom of a bioPool. The two bioReactants shown are representativ e examples of a pair of two interacting molecules or complexes vvith complementary roles or functions a receptor and its ligand As descπbed earlier, may other combinations of two, three or any other number of interacting participants are possible, to represent other types of processes, such as combinations of enzyme and substrate(s), units that form a complex, and so on These combinations may also include antagonists or inhibitors, which may alternatively be represented as competing in a separate process, the latter being the preferred alternative in the default implementation using the scaled set ot variables and simulation formulas + The class bioReactant (Table 61 ) comprises a hierarchy of subclasses, such as. amplifier-bioreactant, source-bi reactant, leading-bioreactant, binding-bioreactant, inhibitor-bioreactant, smgle-bioreactant, cellReactant, cell-receptor, extracell-ligand, and their subclasses A few examples ot their incremental definitions are shown in Tables 61 through 64 There are several attributes common to all subclasses ot bioReactant, while each subclass has one or two specific attributes Every bioReactant (1408 or 1419) has its menu (1409 or 1420), and selecting its "table" option (1410 or 1421 ) displays its table ot attnbutes (1411 or 1422), in this case showing the default values for their attributes. New and not previously described attributes specific for any ot the subclases include. - Sloichiometric-coeff (1412) is a simple float attribute of all subclasses of bioReactant and bioProduct, which constant value represents the characteristic stoichiometπc coefficient of that participant in that particular bioProcess In other words, the set ot the stoichiometπc-coetf of all bioReactants and bioProducts ot a particular biυPaxess indicates the relationship between the number of units of each bioPaiduct produced per number of units of each bioReactant, - Alpha-coeff (1413) is a simple float attnbute which value may optionally be set by the modeler to modify bv a factor the Contribution, which value is computed by the program This is ot interest tor testing the effects of a global modification of such variable on the simulation ot the system This value is incorporated bv default in the generic formulas prov ided, and if not configured by the modeler, multiplying by its default value of 1 0 has no effect on the system Altemativ ely, the mixleler may delete the alpha-coeft-par and provide instead a simple float value - Contribution (1414) is an attribute of every subclass bioReactant which value is given by a contπbution-pv ar (1415), which value is dynamically computed while a simulation is running. The meaning and u-e ot thi- attπbute is a novel teaching of this invention, designed to meet some of the challenges posed by the domain ot thi- invenhon, where both qualitative and quantitative knowledge is frequently scattered and incomplete This attribute represents, as its name indicates, the Contπbution ot each bioReactant to determining the ov erall rate of the transformation that the bioProcess, as represented by the Velocity of its bioEngine the contribution is a v anable that can take values trom 0 00 to 1 00, and represents a dimensionless scaled concentration lor other equivalent quantity variable) The scaling ot the concentration is done at the bioReactant lev el, rather than at the bioPool level, to allow tor additional flexibility. In this way, the absolute concentration can be scaled differently tor each bioEngine, centering around the specific constant that characterized the molecular interactions between each specific pair of bioReactants. The type ot constant may be difterent tor difterent bioReactants representing the same BioPool depending on the aile played by each bioEntity in a given bioEngine, such as a Km tor each substrate, the Ki for an inhibitor, the Ks for ligands or complex-subunits The default values tor all types of contribution are equal to: a) 0 5 for normal steady-state physiological condition- (for that particular compartment), b) 00 for bioPools ot inducible proteins or non-physiological molecule- or c)l for constitutive and repressible proteins. The user can either directly override a relative v alue or leav e the default values A generic formula specific tor each ot the bioReactant classes determines how the v alue ot each contribution class is computed - Consumption-Rate (1416) is an attribute of every subclass of bioReactant which value is given by a dependent consu -rate-pvar (1417), which value is dynamically computed while a simulation is running, and indicates the rate of consumption of units of the connected bioPool in such bioProcess. Its arguments are the bioReactant's stoichiometric-coeff and the Velocity of the bioEngine. and its value is an argument for the Output-Rate of the connected bioPool. For those classes of bioReactants that are not consumed in a reaction, the value of this attribute remains 0.0. In this invention, an enzyme. r or an inhibit r.r are preferably not consumed in the enzyme-processes. However, they may be retained, by modeling them with a time-delay-var with its specific formula. Note that the connected bioReservoir may be configured for the quantity of the bioPool to decay dynamically, representing their degradation and diffusion components, and it also may be consumed in oth er biol'axesses; - Effeclive-binding-sites (1418) is a simple float attribute of the subclasses of bioReactant that refers to molecules or complexes that have binding activity, such as all the subclasses of amplifier-bioreactant and " leadihg-bioreactant, and its value is set by the modeler to indicate the number of effective binding sites per unit. + Kinetic-parameters are by default simple float attributes specific for some subclasses of bioReactants, w hich values are optionally set by the modeler to indicate the value of the kinetic parameter characteristic for that particular instance. A set of two attributes is provided for each of such subclasses, one to hold the absolute value and the other to hold a scaled value of such kinetic parameter, which are used by the set of absolute generic simulation formulas used in conjunction with the absolute- valued variables, or by the currently default set of scaled generic simulation formulas used in conjunction with the scaled-valued variables, respectively. Alternatively, in cases where the value the Kinetic-parameters are by default simple float attributes specific for some subclasses of bioReactants, which values are optionally set by the modeler to indicate the value of the kinetic parameter characteristic for that particular instance. A set of two attributes is provided for each of such subclasses, one to hold the absolute value and the other to hold a scaled value of such kinetic parameter, which are used by the set of absolute generic simulation formulas used in conjunction with the absolute-valued variables, or by the currently default set of scaled generic simulation tormulas used in conjunction with the scaled-valued variables, respectively. Alternatively, in cases w here the value the kinetic-parameter is time-variant and dependent on other variable values, the modeler may choose for individual bioReactants to define for that attribute an instance of kinetic-pa rameter-var (Table 13), in which case the modeler has to define the specific simulation formula to provide the value for that particular instance, as previously described (F1C.10) - Equilibrium-dissociation-constant (1423) and Scaled-equil.dissoc.k (1424) are simple float attributes of the subclasses of binding-bioreactant (Table 98) which value is optionally set by the modeler to indicate the absolute or a scaled value, respectively, of the Ks characteristic of that agonist or complex-subunit; - Catalytic-constant and Scaled-catalytic. k (not shown) are simple float attributes of the subclasses ot enzvme. r (Table 95) which value is optionally set by the modeler to indicate the absolute or a scaled value, respectively, of the characteristic kp of that enzyme (where kp is the equivalent of the units ot activity per catalytic center, or kp = Vmax /|E|ι (. " ') ); - Michaelis-constant and Scaled-michaelis.k (not shown) are simple float attributes of the subclass substrate. r (Table 96) which value is optionally set by the modeler to indicate the absolute or a scaled value, respectively, ot the Km characteristic of that substrate (where Km is the dynamic constant equiv alent to the substrate concentration that yields half-maximal velocity, or Km = ( k-l + kp ) / ki, used when the bioEngine is treated under steady-state conditions, which the preferred treatment in this invention ). This attribute may optionall be considered to represent the Ks ( where Ks represents the intrinsic dissociation-constant, or Ks = |E||S1/ |ES | = k-l /kl (M) = 1 / Keq, may be used when the system modeled is under rapid equilibπum conditions, which is usuallv not required because of the dynamic nature of the simulation system of this invention), w hich may be used in a formula in con|unctιon with the catalytic-constant or scaled-catalytic. . respectively, of the interacting enzyme. r: or - Inhibition-constant and Scaled-inhibition. (not shown) are simple float attributes of the subclasses ot inhibitor-bioreactant (Table 99) which value is optionally set by the modeler to indicate the absolute or a scaled value, respectively, of the Ki characteristic of that inhibitor or antagonist (w here the factor ( 1 ->- [ 11 / Ki i mav be considered as an | l]-dependent statistical factor describing the distribution of enzyme between the E and Q forms). - The class bioProduct (Table 60) has the subclass cell-bioProduct As shown in FIG.15, a bioProduct ( 1518) ι- connected to an output p-connection at the bottom of a bioEngme. and represents the mateπal contribution from a bioEngine to the bioPool to which it is connected. To be operational, the bioProduct-post connected to a bioProduct must have the same name as one of the bioPool-p-posts connected at the top of a bioPool. Everv instance of bioProduct ( 1518) has it- menu ( 1519), and selecting "table" (1520) displays its table of attributes 1521), which in this case shows the default values for its attributes Not previously described attributes -pecuic ot this class include - "Production-Rate" (1522) is given by a produc-rate-pvar (1523), which value indicates the rate of production of the units that will be added to the connected bioPool. which is dependent on the bioProduct s Stoichiometnc -ccett and the Velocity ot the bioEngme, and is an argument tor the Input-rate of the connected bioPool • Class bioRole-post - in this invention, any reference to a bioRole-post means a bioPost to be located upon the subworkspace ot a bioProcess v. hich function is to connect a bioRole-Obiect to a bioPool through a bioPool-post The class bioRole-post (Table 65) is a subclass ot bioPost, from which it inherits all its capabilities, and has two subclasses bioReactant-post (703 or 707), which together with a biopool-r-post (704 or 708) distantly connects a bioReactant to a bioPool, and bioProduct-post (711), which together with a biopool-p-post (712) distantly connects a bioProduct to a bioPool The new attribute detined for these classes is - ' ret-bioreser oir" is a pointer to the bioReservoir instance that contains the biopool-r-post or biopool-p-post to which it is distantly connected The value is interactively set by selecting the "set-rets" menu option, and it is used by the program tor interactive nav igation through bioReservoirs and bioProcesses, as described below k) BioModels • In this invention, any reference to a bioModel means an iconic knowledge structure which, depending ot the subclass, encapsulates in its subworkspace a set ot interrelated composite bioObiects, such as bioReservoirs, bioProcesses or other bioModels BioModels are used to partitioned the Virtual Model into a modular hierarchv ot subworkspaces ot bioModels, and can be also described as subsystems or fragments ot a larger netw ork ot pathw avs, w hich can be reused as modules ot desired degrees ot complexity to be combined in a variety ot ways to build larger and diverse systems BioModels are objects represented by icons, and the constants, parameters, and vaπables that model the system are disrπbuted throughout their component buildmg blocks, which function as distributed parallel processors The dynamic aspect of a bioModel is determined by a system ot algebraic and differential equations that provide the values for the encapsulated dependent and state vanables BioModels represent empiπcal biological models deπved from expeπmental descriptive information and semi-quantitativ e or quantitative data Very complex bioModels can be build by connecting component parts ot an unlimited number of other bioModels by means ot connection-posts The icon ot some bioModels, such as sequential time-compartments, may contain stubs to allow connection to other bioModeis • The class bioModel (Table 66) is a subclass of bioView -Object and have no additional defined specific attributes, but inherit the attributes "names", "label", descnption", references", "warnings", and "toggle-state" it compnses v annus subclasses (only some examples of which are listed in Tables 66 througn 73) vv hich represent any physiological system at ditterent lev els ot structural complexity, such as organ, tissue, cell-interaction, cell, or subcellular organelle, or any other intermediate compartment within those compartments, such as. submodel, bioReservoir-Bm, and On-Hold-Bin A submodel schematically represents a portion ot anv size ot the network ot pathways of a larger structure, such as a cell-bioModel The subworkspace (1831 ) ot a submodel contains a set ot related bioProcesses and also a bioReserv oir-Bin ( 1831 ) w hich in turn contains a set of related bioReservoirs connected to those bioProcesses Howev er, the bioReactants and bioProducts ot anv biol'a cess that is a component of a bioModel may be connected to bioPosts ot bioReserv oirs that mav be located in the same or m other bioModels As the submodel becomes larger, it may be broken down into smaller submodels by simply cloning a new submodel and transferring to lt- subworkspace the desired bioProcesses and to the subworkspace ot its bioReservoir-bin the corresponding bioReservoirs The connectivity of the pathways is transparent to movements ot bioObjects trom one bioModel to another, since they are directly connected among them through the structures upon the subworkspaces or bioReserv oirs and bioProcesses • This architecture results in a hierarchv ot bioModels encapsulated within other bioModels, which ultimatelv encapsulate bioProcesses and bioReservoirs, which in turn encapsulate bioReactants, bioEngines and bioProducts, or bioPools, respectively Although this topology may appear complex, at run-time each ot the v anables depend on the vaπables ot only those bioObjects directly connected, and therefore the svstem ope-ate- as a set of processors concurrently computing in parallel The distant connections between bioProcesses and bioReservoirs, established through the bioPosts anywhere in the knowledge-base, interconnect the difterent bioModels into a dynamic multidimensional network ot anv unlimited complexity This architecture raαlitate- the implementation ot feedback and forward loops, interactions between components of difterent pathwav - elements that are shared bv difterent pathways, and connections between segments of pathw ays that are built as separate reusable modules When one bioPool participates in teedback-kops in tw o or more pathw av s, this bioPool mav be able to 'switch' from one pathway to the other at a giv en point, as a result of continuously v arving functions, such as different v elocities or diffusion rates • The class On-Hold-Bin is characterized by having an activ atable-sub orkspace, vv hich is usuallv maintained deactiv ated The instances ot On-Hold-Bin are used to store within a submodel (not shown) bioReserv oir- and /or bioProcesses that are either substitutions for the bioReserv oirs and /or bioProcesses contained in such submodel, or additional bioReservoirs and/or bioProcesses to extend the pathwav represented bv such submodel, which are appropπatelv connected, but which the user wants to exclude from a simulation or other uses Bv hav ing the subworkspace deactivated, all those structures are ignored bv the inference engine and the simulator The user may hav e those structures included or excluded trom a simulation or other uses at will, as described under the Modeler-Mode heading The table ot attπbutes (2309) ot each instance ot an On-Hold-Bin allow s to store and access additional information All instances ot On-Hold-Bin hav e either one ot two altemativ e menu options a) it the subworkspace of the On-Hold-Bin is activated, then the "deactiv ate-sw is av ailable, which upon selection bv the user deacti ates such subworkspace, or b) it the subw orkspace of the On-Hold-Bin is deactiv ated, then the "activ ate-sw" is av ailable, which upon selection by the user activ ates such subwor space • Some ot those subclasses of bioModels such as the sequential tune-compartments, can be independently activ ated and activated bv the program during a simulation run The efficiency of large-scale simulation applications can also be significantly improv ed using that mechanism, bv hav ing whole branches ot the model that are not relev ant at some point in time deactivated and activated w hen required, dπv en bv ev ents generated as a result ot the simulation itself or at given time intervals • The class cell-bioModel (2326 Table 68) is used to represent a cell as observ ed trom the inside that is as a container ot subcellular compartments, that in turn mav contain ditterent lavers ot submodels until at the end ot the compartment hierarchy, the bioReserv oirs and bioProcesses are contained Cell-bioModels are used tor modelmg prototypic cells of interest in a verv detailed vvav through their functional structural components, w hich are constructed graphically through the v arious lev els ot other encapsulated bioModel that a cell-bioMi Kiel may contam in its subw orkspace, but w hich at the end contain v ariables and parameters that allow to quantitativ ely simulate those models, or more realistically, constrained submodels withm the cell which can be selected by selecting any ot the compartments at anv desired level The hierarchical encapsulated allow s not only to displav difterent lev els of detail to tocus only th s parts ot the svstem that are relev ant to the user at anv giv en time, but also allow to expand the model adding additional lev els ot detail vv henev er desired Each cell-bioModel or anv ot its contained BioModels can be used as modules to build other bioModels with increasing degree ot complexitv This modular and reusable building block structure giv es the sy stem great flexibility and transparency, vv hile allowing to build v erv complex cell-entities • As sho n in FIG 24, each cell-bioModel (2401) has a subworkspace (2402) upon w hich are represented the charactenstic phases ot the cell cvcle (2421), that follow a repeated cvclic pathwav, or the cell differentiate into a ditterent stage (2428) or mav go into apoptosis (2430), a terminal stage The cell-phases (2318 through 2322) are subclasses nt the class cell-phase, the main defined subclass ot the class time-compartment (Table b9a) but other tvpes ot compartmentalization are also possible by means ot instances ot the class time-submodel (2303 2423, 2325, 2426) Inatances ot the class biomodel-post (2403 2429), ant its associated methods (Table 70) allow to connect those cell-phases w ith another cells-phases upon other cell-bioModel and to displav them - GO-phase -compartment in cell biology the GO-phase represents resting-cells In this inv ention, this compartment also represents the background processes ot resting-cells, but in addition it also contains all those background bioProcesses that are not specific tor any particular phase ot the cell -cvcle or w hich cπ. s- ov er the boundaries ot s v eral of those phases This compartment is trequentlv the starting point ot a simulation and it- bioPools are usuallv modeled bv the default "normal' steadv-state v alues ot the v ariables and parameters ot interest - Gl-phase-compartment represents a state ot cells after thev hav e been activ ated bv external factors and mav be further compartmentalized into two or more time-compartments For example the Gl.l-comparrment represents activ ated-cells or earl v-Cl -phase-cells w hich hav e recently entered the Gl -phase of the cell cv cle, s characterized by transcription ot earlv-response genes, expression ot new receptors, w hile the Gl.2-compartment or late-Gl-phase-cells, is characterized bv transcription ot late-response genes or increased secretion ot specific cvtokines or other signaling factors - S-phase-compartment represents the state of cells in S-phase characterized bv DNA s y nthesis - G2 -compartment represent cells in the G2-phase, characterized bv double DNA content and before entering mitosis - M-compartment represents cells in the M-phase duπng the mitotic process - Di -compartment: represents cells entenng a new differentiation stage, when a different set ot activated _arιv -response and/ or late response genes induce permanent changes in the types ot genes expressed This laver is followed, depending on the combination and strength of signals provided bv simulation ev ents, by either the GO-phase -compartment, or both this and the Gl-phase-compartment, of the next cell type in the differentiation pathway - Ap-compartment apoptotic cells, when cells in the G1 1-layer do not receive the appropriate signals to enter either the C22-layer or the Dl-layer. This is a terminal layer which only effect is to reduce the size ot the total cell population (Note that the total cell population size is increased at the transition atter every M-layer, bv an amount equal to the size ot the population in that M-layer The non -specifically-modeled overall cell death is represented bv a decay parameter, set to tit the experimental data - The default time-duration ot each of these temporal layers is set according to experimentally obtained knowledge of such duration, under specified "normal" conditions A laver-rate-constant, τ_, is constrained to values -1 > τ. > 1 and initially set to 0 When the effects of different combinations and strength of signals on the duration of any of the layers are measured, then the value ot t_ is adjusted to fit the target values ot the expeπmental set -> tr = t (l+ tι ) • Each time-compartment (2404, 2423) encapsulates (2405, 2424) several spatial compartments that run in parallel to each other, and which represent the clearly detined sulxellular compartments, called cell-Compartments (Table 67), such as the cell-membrane (2406), cytoplasm (2416), nucleus(241 ), endoplasmιc-retιculum(2418), Golgi apparatus(2419), endosomes(2420), mitochondπa, and so on It also contains a timer (Table 69b, 2427) with an activation time attribute given bv an elapsed-simulOtime-par, w hich can be used in the control ot the deachvatton ot the subworkspace that contains it by inference methods based on such v alue The connections between the time compartments belong to the class cycle-path (Table 38) and contain a number of parameters and v anables to hold the values ot the rate-constant and the pa gression rate that can be used when developing quantitative models tor simulation purposes A number ot other v anables and parameters that descπbe among others a) the size related attributes ot the cells , and b) quantities related to population dynamics, such as those shown in FIG 3 (317 - 320), which are attπbutes ot the cell-phases, are defined in Tables 3 through 11 A collection of mference blixks (Table 23) may also be used to control the activation and deactivation ot the time compartments, at intervals that are predefined or dynamically computed depending on simulated vaπables are also defined Table 88 lists as an example a set ot simulation formulas tor state vaπables that can be used to compute the dynamic changes in cell numbers that are accumulation in each ot the cell-phase, when using these graphic structures in combination w ith a population dynamics approach Furthermore, Table 78 lists a set ot rules that can be alternatively used to control the progression through those cell-phases, when using the mechanistic approach As the reader may realized, there are a number of ditterent altemativ es, encapsulated within those graphic buildmg bkxks, to model the complex sv stems at different lev el- as discussed in the modeling section • FIG 24 shows the maior states considered in the currentlv preferred embodiment ot this inv ention, follow mg the classical nomenclature and concepts generally accepted in the scientific community, the resting state is detined as the Go phase Each ot the v alues ot the "cell-phase ' attribute ot a cell-bioModel, indicates which ot those phases is currently activated, if any in addition to the GO-phase While at Go, if the cell is activ ated bv a growth factor, antigen or any other activating stimulus, tlie cell enters the activated state or Cl. from w Inch it can follow to other phases of the cell cycle or the differentiating states, depending on the signals received Cl is hounded by the progression signal or cell birth and the initiation ot DNA replication, and characterized bv sequential expression of additional genes, protein synthesis and cell growth S is bounded by initiation and completion of DNA synthesis C2 is bounded by the completion ot DNA synthesis and the initiation ot mitosis and characterized by further cell growth and/or protein secretion M is bounded by initiation ot mitosis and completion ot cell division, usually represent about 2' _ ot the total Although the cell cvcle is a continuous one it can be compartmentalized into functional cycle intervals whenev er it is deemed useful to better represent the dvnamic simulation ot the system As shown in FIGs 4, 28, and 29, there are switching points (406, 2S03, and 2911 ) at early Gl where the cell has to decide between the differentiation and the cvclic pathwav s resulting in a vaπety ot difterent patterns that depend on both the internal stage ot the cells and other components in the sv stem, external to the cells A typical pattern results in a) cells in the resting stage, when the steadv-state conditions are assumed, then atter activation by specific external signals, sw itching through the cy cling phases one or more cycles, or back to resting, then atter activation by specific external signals duπng one ot those stages, sw itching to one ot the next nodes in the tree, committing themselves to that branch of the tree m the longitudinal pathwav , then once at the new nixie they may go back to a ) tor a peπixl of time, in a resting stage auπng which the new steadv-state conditions are assumed, or, if activated by specific external signals they mav >o oack to b) with the new steady-state conditions as the base-line • Each ot the cell-Compartments compπses a subworkspace (2407) which m turn mav contain v aπous submodel- (2408) Other local-submodels (2304) are also provided for other types ot spatial compartmentalization The subworkspace (2409) of a submodel may contain other submodels (not show n), and submodels may also contain bioProcesses (2410) or bioReservoirs (not shown) In the current embodiment, the bioReservoirs (2414) are preferentially hidden in a bioReserv oirs-bin (2306, 2412, Table 6b ) that belongs to that submodel • As shown in FIG 25, instances ot the class cell-interaction (Table 71, 2327, 2501) encapsulate in their subworkspace (2502) the interaction ot two cells (2503 and 2504), that use the graphic extracellular-components (Table 72a) to interact with each other directly by means ot surface-components (2505 and 2506), through the components that one secretes, secreted -components (2507), tor which the other ha- specific receptors, surface-components (2508), and both interact with their environment through specific receptors (2509) for systemic-components (2510) As shown in FIG 26 , each of those components have a table ot attπbutes (2616, 2620, and 2633), referring to an specific bioEntities (2624), bioReservoir (2626) and bioProcess (2628) within the cell-bioModel, and are connected to the internal the mechanistic pathways Clicking on those icons displays their menus (2618) from which options, the user can select the display ot the associated structures, as specified in the attπbutes The difterent menu-options, and their associated paxedures are listed in Tables 72c, d, and e) Tables 72b and f list functions that allows the modeler to automate the task ot establishing the distant connections to those graphic structures The lnteracting-cells (2503 and 2504, Table 71 ) in this intertace do not contain a mechanistic model of its components, but rather refers to and displav s another cell-bioModel that store those mechanistic models In this v av, this structure is used as an intertace to design interactions between other cell-bioModel, and new cells and other connections to bioProcesses or bioReserv oirs can be establish The external components, such as serum or incubation media or single or lumped toxic-byproducts, tor which there are specified or lumped receptors are represented bv a set ot bioReservoirs, such as RPMI-Pool, serum-Pool, are connected to a bioProcess with a receptor-engine that has at least one bioProduct connected with one ot the bioReservoirs within the cell The function ot the bioEngine is ti compute the consumption an exhaustion ot nutnents at a rate proportional to μ, the specific growth rate Tlie byproduct-Pool's concentration is used m turn to modify the v alue of μ by multiplying it by a parameter 0<m <1 • Cells are represented in this invention in two difterent w ays as the class cell-bioModel composed of cell-Compartments, as descπbed above, and as the class cell used to represent a cell as observed trom the outside and including any defined, mostly external, characteristic markers as show n in FIG 2b, that can be used to assigning that cell to one type ot cells and to distinguish it from cells of other types The instances ot class cell vv ith sets ot stubs on the top and bottom ot their icons, are used to classify cells accordmg to a branching differentiation tree as shown in FIG 21, to define tlie many nuances betw en them that differentiate them tai each other, particularly vv hen following the almost continuous differenti tion process As an example, a Th2-lvmphocv te is shown in FIG 2b An instance ot cell mav correspond to an instance ot cell-bioModel but it is expected that there are manv more intermediary stages represented bv the lighter cells w Inch represent the much lower lev el ot detail most frequently av ailable BioReserv oirs representing cell populations mav refer in their Ret-bioentitv attπbute to a named instance ot cell One ot the menu options tor this class l5 biomodel which upon selection displav s the subworkspace ot the bioModel referred to bv one ot its attributes Ref-biomodel, it anv, and that option is onlv v lsible w hen such attnbute has a v alue The class differentiation-pathway (2335, 2701, Table 73) provide structures that allow the modeler to manuallv build differentiation trees, such as the one shown in FIG 25, which are based on expert-know ledge to represent the sequential progress trom one stage ot differentiation to the next The ditterent stages through vv hich a cell lineage goes through is a continuous process vv hich can be simplified ith the representation used in this s\ ,tenι consisting ot discrete stages that represent different stages ot differentiation, defined bv characteristic and measurable phenotvpe, that follow a tree like longitudinal pathw av s The cells in those pathw av s are or the class cell (2602 2705), and thev contain further encapsulated detail as show n in FIG 2b A cell contains information in a table ot attπbutes (2605, and also encapsulated in its subworkspace, where the different icon- are a cell-surface (2608), since this is a representation ot the cells trom the outside, and a set ot components that allow that cell to refer a display characteristic markers and receptors that allow them to interact to the out-ide orld, such as the subclasses ot extracellular-components ( Table 72a), the surface-component- (2613) secreted-components (2617), and svstemic -components ( 2bl 2) their env ironment to w hich thev respond 11 Inference and Simulation Structures • Functions are statements hich define a sequence ot operations that are performed w hen the function - name and arguments appear as part ot an activ e expression Tlie tabular-tuncπon-ot-one-argument a class deπnec; within the Shell, has an important use in the domain of this invention. It allows to deal with situations when the algebraic relationship between two variables is not known, but the experimental data is av ailable. and straight-line interpolation is optional. Tabular functions can also be used in other expressions, such as the rule if the |Productl |([Substratel |) decreases then inform the operator that "[Substrate-11 may be inhibitory at high concentrations" • Relations are defined associations between two items which can be dynamically concluded and reasoned about, and in the current implementation of this invention, they represent physical and abstract relationships between objects, such as a-downstream-bioReservoir-of, the-downstream-BR-list-of After being defined by the developer, relations are established transiently at run-hme by the mference engine. The dynamic reasoning used for query, navigation, and simulation depend heavilv in the use of relations, in addition to the graphical connections. Physical and abstract relationships between two objects may be represented through relations which, atter being detined by the developer, may be dynamically and transiently created at run-hme by the mference engine. The existence ot relations can be concluded and reasoned about, and the existing relations tor a particular object can be also be listed using the "describe" option. Most of the relations are created during the initialization set ot procedures, while others are created at run-time by the sets of procedures used duπng query, navigation, and simulation. T e creation or breaking of relations are treated as events that are forward chained to rules that refer to the relations in their antecedent. Relation definitions are shown in Table 75 • Domain-specific rules are used to conclude or to respond to the changing conditions in the world defined by the domain-specific knowledge structures In the current embodiment, a rule has, in addition to its body that encodes the rule itself, a set ot attributes that can be configured to establish its mode ot operation and to define its restrictions, such as whether it can be invoked by forward chaintng and backward chaining, whether it may cause data seeking or tonvard chaining, focal classes and focal objects, priority, and its scan interval Difterent types of rules may lack some of those capabilities For example a) whenever rules have no focal objects or classes, and cannot be invoked by forward or backward chaining, being only event driven One such event may be the a relatton being established or broken Other such event may be moving the icon by the user, which is frequently used in this application to either trigger the automatic configuration ot the value of some attπbute, or the appearance of the icons, or the position of the icons, and c) initially rules are first and only invoked w hen a knowledge-base is started, or when a subworkspace is activated. Therefore, the situations to which those rules applied, and the conditions under which they can be invoked, can be very much constrained by the generic and specific sets of options and attributes of each particular instance • Formulas in this system can be defined as expressions that define the relationships ot a variable or parameter to other v aπables or parameters, in a way that when one variable or parameter changes the formula predetermines in which way other variables or parameters will be changed, either by the inference engine, in the case ot general formulas, or by the simulator, in the case of simulation formulas Geneπc simulation and general formulas are created as statements on workspaces and provide values for a whole class or group ot bioVaπables or bioParameters, in contrast with the specific simulation and general formulas, which are attached to the definition ot one variable and apply only to that variable The definitions ot generic simulation formula tor sets ot scaled-valued vaπables(Tables 83 and 84). mixed-type v anables and absolute-valued vaπables(Table 8b) will be discussed under the Simulation Mode heading 2 Modeler Mode: Creating the Virtual Models a ) Menus. Palettes and Libraries • The Modeler Mode is made available only to those users who have rights to build or modify the applications, in which case it is the default mode when the application is started The modeler's tasks are all based on the basic paradigm of "Clone, Connect, Configure and Initialize", and consist of buildmg and contiguπng graphical models of the structure of bioEntities, as well as to design and build graphical models ot complex networks ot cross-talking pathways, which result from the modeler's actions ot cloning, connecting and configuring sets ot bioProcesses, bioReservoirs, and bioEntities To facilitate the modeler's tasks, the Modeler-Menu prov ides a vvav to organize and access the difterent components of the system • πC 16 shows the domain-menus associated with thts mode in this inv ention, which are shown here again in an overiy expanded (pulled-down) way, for demonstration purposes Selecting the "Help f Mode Menus" option (1601 ) allows access to the available user modes, which upon selection causes a change to that mode ot operation and displays the specific domain-menus associated with that user mode, only for the vv mdow from v hich it is selected. Selecting Modeler Mode (1602) displays the contracted top layer ot menu heads show n m the lower menu display, which additionally compπse the options "Palettes". "Structure Libraries", and ' Path av Libraries", w hich allow to access parts of the Virtual Models by selecting the desired options troni tlie menu, which usually requires nav igating through a hierarchy ot w alk g menus The follow ing discu— ion >r this menu svstem also serves the purpose ot discussing how the buildin -blocks are organized in Palettes and now the iconic models build bv the modeler are organized and stored m Libraries The difference between Palettes and Libraries is that Palettes contain domain-specific and genenc building-blocks built bv the dev eloper and to be used by the modeler, vv hile Libra πes contain application-specific models built bv the modeler and to be used bv different types ot users Palettes are prov ided to allow the modeler to quicklv create new instances trom prebuilt generic bioEntities, bioReservoirs or bioProcesses, or anv ot their components which comes with their corresponding default or no values, to be then configured by editing their tables ot attributes A facility is provided, called the Modeler-Palettes-Bin w ith a button to automatically create new empty Palettes to be populated bv modelers, to allow them to expand and complement the built-in library ot building-blocks to sahsfv their more specific needs • The Palettes prov ide a large number ot characteristic types ot bioObjects, grouped bv subclasses and organized in special subworkspaces of named go-to-sw buttons organized in the subworkspaces ot another go-to-sw named "Palettes-Bin" Palettes are accessible through the domain-menus, and because of their defined user-restrictions, selection ot anv bιoOb|ect upon a Palette in Modeler Mode implies clone, which automatically results in a clone ot such bioObject (including its subworkspace and all structures upon it, and all the further lev els ot encapsulation contained in their subw orkspaces) to be attached to the mouse-pointer and readv tor the modeler to transfer it to the desired subworkspace Selecting "Palettes ' (1603) pulls down its options which mav point directly to the palettes ot important classes ot bioObiects and also model-blocks, such as 1604 points points to 2001, 1606 points to 2101, 1608 points to 1901, and 1616 points to 2301 In the case ot classes w ith large number ot building-blocks, those mav be grouped further in a number ot palettes that can le accessed through walking menus, such as when selecting "Molecules" (1610) displays an additional pull-do n menu headed bv ' Molecules" (1612), vv hich options mav now point directlv to Palettes Examples are shown in FIG 17, such as vv hen selecting "Protein Components" (1614) the options of the w alk g menu generated lead among others to "Protein Domains" (1701), "Protein Motifs" (1706), and "Simple bioEntities' (1711 ) • Libraries compπse among others tw o tvpes - Structure Libraries, are hierarchically organized workspaces (1623) containing models ot specific complex-bioEnhties (1624) that model the functional structure ot molecules or molecular-complexes at various lev els ot complexity , and which can be accessed by selecting the options of the menu head "Structure Libraries (1618) For example, selecting "Cvtokine Library" (1620) displavs the menu headed bv "Cvtokine Library' (1621), w hich options refer to libraries ot different families ot cytokines, and further selecting one such as ' IL4 like Libran'' (1622) displays the librarv (1623) ot the IL4 familv , vv hich contain sev ral cvtokines w ith similar structures which prototype is IL4 (1624), which subworkspace contains sev eral domains, motifs and gaiups Those icons mav be used to a) be cloned and modify to build different but related structures b) le placed in the subw orkspace ot protein-complexes, as show n in FIG 18 or c) they mav be preferentially named and copied as descπbed below, and the dummy copies that refer to the oπgmal are used tor sev eral ot the more complex structures - Pathwav Libraries, are hierarchically organized workspaces (1630) containing sets ot related bioProcesses such as those contained in the subworkspace of a submodel, and a bioReserv oir-Bin w ith the bioReservoirs connected to those bioProcesses, where those bioProcesses and bioReserv oirs are connected forming the nodes ot a pathv av that mav be or not multidimensionallv branched The pathw ays included in the libraries are those that are common to sev eral svstem although thev mav require some modifications and thev can be cloned instead ot being built from scratch Alternativ ely, the ' Pathvvav Libraπes ( 1628) menu mav be used to hierarchicallv access anv submodel ot the Virtual Model, as an alternativ e to interactiv ely nav igate through all the lav ers or subw orkspaces mv olv ed The options ot the menu head ' Pathvv v Libraries (1628) point directlv to submodels vv hich subworkspaces are displaved For example, selecting the option "EGF R Pathw av ' (162 u ) displavs the components ot the initial specific steps ot such pathv av (1629) containing bioProcesses (1631 ) and a bioReserv oir-Bin (1632) To conv enientlv handle large and complex pathways, the components can be partitioned into more submodels, bv simplv transterπng related sets ot bioProcesses and their corresponding bioReserv oirs to the subworkspace ot a another submodel, vv ithout aftectmg the connectiv ltv ot the pathw av •, in anv w av When the application grows larger and the number ot submodel increase those direct domain-menus options are replaced bv other options that lead instead to w alk g menus otteπng as manv hierarchical lev els as necessarv Modelers can also clone submodels in w hich all the bioProcesses organized in its workspace, together w ith the contained bioReserv oir-Bin and all the bioReserv oir organized in its workspace, are also cloned preserv ing the labels and anv other attributes but w ith no names since names are unique, This means that all new bioReserv oirs and bioProcesses hav e to be named (w ith tlie same basic name and ditterent tags) and the connections hav e to be reestablished bv naming the bioPosts and setting the ret- attπbutes as discussed elsew here tor new sets b) Creating New Composite Objects • There are several altemativ es tor building new generic types of composite bιoOb|ect One method compπses tn 1 - tollowing steps a) an instance of the desired class, such as bioProcess, is created by selecting trom the menu o* the ob|ect -definition ot that class the "create-instance" option and transferred to a workspace, b) the subworkspace ot such instance is created by selecting trom its menu the "create-subworkspace" option, c) the desired set of instances ot characteristic classes of visualObjects are created or cloned and transferred to such subworkspace, and d) the newly created instances are positioned and connected in specific ays, to conform to the designs specified in this invention A preferred alternati e way is to "clone" an existing composite bioObject that is similar to the desired one, and delete and/or add components, as desired The additional geneπc building-blocks are added to palettes accessible through the domain-menus, and are used to create new instances ot the same type by cloning such genenc structures Cloning an object in this invention means cloning also its subworkspace, and all objects upon its subworkspace, and any objects upon the subworkspace ot each ot those objects, and so on The modeler can then further individualized each newly cloned instance bv configuring the attπbute tables of the supeπor object, or by configuring the attribute tables of the objects encapsulated within that superior ob|ect, either as attribute objects or as objects upon successiv e suoworkspaces • Furthermore, it is possible to create transient objects at run time in two wavs a) by usmg the ' create a <class-name>" and "transfer" actions, or b) by using the "create a <class-name> by cloning <ιnstance -name>' and "transfer" actions which is the equiv alent to the clone option descπbed abov e, and is the preferred wav tor composite objects Transient objects can be made permanent by using in addition the "make ■•-instance- permanent" action atter the instance has been transferred to a workspace This invention makes extensiv e use ot dv namicallv creating objects at runtime by cloning, such as when creatmg dvnamic pathways, dvnamic query-panels, dvnamic quervoutput-panels, dvnamic entry-panels, dynamic graphs, dynamic lists, and so on A set ot parhallv prebuilt complex sets ot structures, such as those required tor the different types ot panels, are organized and stored in the subworkspaces ot objects called bins, and used as master structure- to be cloned and completed with additional context-dependent structures at runtime, as ill be described under the General Mode and Simulation Mode headings below c) Modeling bioEntities • The modular functional representations ot structure that are nov el teaching of this v ention allow to represent the modular structural patterns so frequently used by nature More specifically, the iconic structural representation is used to abstract the detailed structure of different molecules to highlight their similaπties, and to show that even prototypes tor difterent families present sev ral similarities Abstraction is obtained in part bv selectiv elv hiding some detail in the subw orkspaces of other components That representation focuses on components and the way they are arranged that relate to their function, to offer users visual models that facilitate their reasoning about structure-function relationships The components ot a molecule are used bv the user to reason about its tunchon, since the presence ot given domains, motifs, or simple-bioEntities usually is associated with described function, therefore directing the scientist s attention to further focus on those functions Furthermore, each ot those iconic instances ot bioEntities hav e their associated tables ot attributes w here the modeler can include additional information, data, and references to access other sources ot information about those models, which can prov ide to the user a wealth of knowledge in the form of an intuitiv e and interactive v isual database The knowledge extracted trom tho-e models can be integrated in this v ention with other torms of knowledge, related to the function ot those bioEntities, provided bv the pathw av s related models For example, the members of each familv may be involv ed in similar mechanisms but result verv difterent and even opposing effects, due to the participation ot their bioPools in different pathwav s That know ledge integration is performed sometimes interactively by the user, and sometimes programmaticaHv as a result ot an interactive request bv the user, depending on which of the manv capabilities ot this inv ention is used Each superior bioEntitv represents the structure ot a biochemical physical entity in a particular state such as different chemical modifications, different states of association with other entities or the products ot different mutations or artificial manipulation or quimeπc constructions, which corresponds to the concept that ditterent bioReserv oirs hold molecules or complexes m difterent states The structural and other tvpes ot information about the units that form a bioPool, as provided in the corresponding bioEntities, is supplemental and is not necessary tor creation or navigation thought the pathw ays, or tor simulation This information is used independently ot the pathways, or thev mav be used in combination, as in the complex queπes • FIG 17 shows the Palettes with representative examples ot master instances ot some ot the ditterent subclasses ot protein-domain (1701 ), paitein-mofit (1706), and simple-bioEntit (1711 ), accessed through the walking menu ot Protein Components (lblb) Some ot those buildine-bl cks are v erv generic or emptv structure- -ucn a- the examples shown ot the subw orkspaces (1703 and 1708) ot catalvtic -subunit (1702) and spacer ( 1707) respectively, while others may contain more or less detailed prototypic structures, in which case they are named master-structures, which may be referred to by the master-bioentity attπbute of its copies, such as the example shown of the structure (1705) ot a fibronechn. type. Ill-domain (1704) In addition, like any other bioEntitv, each instance of these components have an associated menu (1805) from which options specific for each class can be selected to perform genenc or specific tasks. Selecting the "table" option (1823) shows their tables ot attributes, such as the examples shown for the tables (1710 and 1713) of a leucm-zipper-motif (1709) and a loss.of.functionprotein. mutation (1712), respectively, providing options for the modeler to include additional mtormation, which in this case is speσfic for each instance or copies Clones of those mstances can be combined m different ways to model, us g the basic paradigm of "Clone, Connect, Contigure and Initialize", at the desired level of detail, the structure of a bioEntity • In addition, to the standard Shell's "clone" capability which applies to every object, there is a novel domain-dependent capability associated with the class complex-bioEntitv and all its subclasses Selecting the "create-local" option (1824), which is restricted to Modeler Mode and when the bioEntity has a name and starts the et-creat -local-proc (Table 89), allows the modeler to create local copies from any instance The term clone means in this invention a complete reproduction of the original, with exception of the name, while the term copy means an incomplete repaxluction that is usually stπpped from the contents of the subworkspace of the original, but contains a pointer to the oπgmal and is used m conjunction with it The master-bicentity attribute ot the copies is automatically set to refer to the named master-structure The dummy copies refer to the original when the "master-details" is requested, which subworkspace with the prototypic structure is displayed. That is, local copies of any complex bioEntity (including bioEntity -components), may have pπvate specific information in its table ot attributes and in its subworkspace, shown by selecting the "local-details" option, while it is can also display the subworkspace of its master bioEntity Simple-bioEntities do not have a subworkspace and do not have master-bioentity attπbute, and the concept ot copy does not apply to them This implementation is preferred because of the advantages of avoiding redundancy, including sav ing storage resources, and allowing modification at only one site when the details ot the structure have to be modified • As shown in FIG 18, the subworkspace (1807) shown for a specific multi-unit receptor-complex (1804) contain- the icons of its various components, which may be copies, such as those referπng to structures in the Libraπes (1808, 1815, and 1817), or may be onginals, such as tor the simple components or some specific complex components (613, 619 and 621 are originals within the original master structures) Upon clicking on each ot those components, their subworkspaces or the subworkspaces of their master structures are displayed on the screen, showing their structural composition. The level of detail is optional, and components at different level, m the hierarchy ot subclasses can be connected to each other. For example, clicking upon a subunit ot the receptor (1808, a copy) shows its structure (1809, trom the master) composed of domains, other simple-bioEntihes, and other optional auxiliary structures, such as those that may contain notes about its function (1810), sequence (1811), references (1812), or a GIF image of its three-dimensional structure (not shown). Any of those components may contain more detailed information, such as that displayed when clicking in one ot those domains (1813), which structure (1814) is composed of other domains, spacers and other simple-bioEntities Back to the main structure, clicking on a kinase ( 1815, copy) that form part ot the complex, its structure (1816, from the master) may be represented by its two subunits, a regulatory-subunit and a catalytic-subunit, each containing or pointing to additional detail (not shown) Or the structure can be directlv represented directlv by it low er level components, such as when clicking on other associated kinase (1817), w hich structure (1818) is composed directly by several domains and other simple-bioEntities Anv ot those molecular components may contain in their subworkspace any type ot other relevant information, when more detailed structure is not available or not desired. For example, clicking on one ot the domains (1 19) shows (1820) differences in the sequence of a functionally important homology region of that domain tor difterent members of that family ot molecules (which allows to represent all members ot the family by |ust one structure, by describing additionally the differences between the different members), w hile clicking on another domain ( 1821) shows more information (1822) about conserved subdomains w ithin that family In general, simple-bioEntities may be lmked to a motit, a domain or even to a subunit or a molecule. The structure mav tυcus on onlv those parts of the structure that hav e functional relevance It intermediary stretches within the structure are unknown or that detail is not desired, they may be represented by domams called spacers d) Modeling Pathways • The bioReservoirs Palette contains prebuilt default instances ot - bioReservoir-Bin, used to store a set ot related bioReservoirs upon its subworkspace and prebuilt with the standard set ot navigation buttons used on most subworkspace-, a go-to-sup-ob|-button and a hide-sup-ws-buttυn, and a bioObject-title. vv hich is standard for the subworkspaces ot all bioModel- as w ell a- ot all complex-bioEntities - On-Hold-Bin. used to store upon its subworkspace bioReservoirs and/or bioProcesses connected into pathways that the modeler may want to offer as alternatives, and which the user may include or exclude from a simulation or other uses at will, by using any of three alternatives: a) desired individual structures can be moved out of the On-Hold-Bin and transferred to the subworkspace of such submodel, or its bioReservoir-Bin if bioReservoirs; b) if ail structures are desired for inclusion, the subworkspace of the On-Hold-Bin can be activated and deactivated at will; or c) two On-Hold-Bins can be used to transfer those structures between them at will, one to be permanently deactivated and the other be activated and to hold only those structures desired for inclusion. If any of those structures are substitutions for other bioReservoirs and /or bioProcesses contained in such submodel, then those structures they are replacing should be removed to a deactivated On-Hold-Bin. This subworkspace is prebuilt with an additional hide-and-deact- sup-ws-button, which upon clicking on it when the subworkspace is activated, hides and deactivates such subworkspace - a set of different prototypes of bioReservoirs, representing all the subclasses, which differ the instance ot the bioPool they conta upon their subworkspace, which is in turn of one of the corresponding subclasses ot bioPiol, and in the color of the type-color region of their icon. Each of those prototypic bioReservoirs comes with a minimal set of basic structures, and model-boxes and additional bioPosts are added interactively w hen needed. By cloning a bioReservoir of the appropriate class from its Palette, transferring it to the subworkspace ot a bio Reservoir-Bin and clicking on its icon to select various tasks, it can then be connected to any of the bioRole-Objects of the bioProcess by simply giving the same name to a matching pair of bioPosts, one from each structure, always keeping in mind the required restricnons. • Another alternative for adding bioReservoirs to the Virtual Model is to clone existing bioReservoirs with similar characteπstics, by selecting the "clean-clone" option from their menu, and configure the new name and desired attributes. The "clean-clone" option starts the BR-clean-clone-proc, which creates a clone of such bioReservoir and sets the values of all the attπbutes of all structures involved, including the bioReservoir and its subworkspace and all structures upon it, to their default values. This capability is useful to create clean bioReservoirs of desired types that are available on the working submodel, without the need to open the Palette The modeler can add, modify or remove connections to bioProcesses, by creating and naming the corresponding bioPosts. That established distant connectivity is independent of the location of bioProcesses and bioReservoirs throughout the Virtual Model or the workspace hierarchy, and no additional changes are required when moving those structures from one location to another. Vanous menus options and associated methods are offered to automate the task of establishing those connections, which will be descπbed atter the discussion of the creation of bioProcesses • The modeler can also model inputs or outputs to a bioPool as mathematical models usmg model-blocks held m model-boxes, as previously discussed (FIGs 8 and 12). A set of menu options, restricted to appear only when in Modeler Mode, are defined for the class bioPool to automate the task of adding a scaled-input-model-box, input-model, or output-model-box. respectively, when desired. The options labeled "add-scaled-mput", "add-mput", and "add-output", start their associated methods, create-scaled-input-model-box-proc (Table 90), create-input-model-box-proc, and create-output-model-box-proc. respectively, which result in the cloning ot the corresponding prebuilt master model-boxes, and then transferring the new instance to its specified position in relation to the bioPool. The modeler has only to extend its stub to |om it with the color-matched stub ot the bioPool, which is the closest to it. Each ot those named master structures is simply a geneπc model-box, each ot the subclass referred to by its name, with a color-coded subworkspace containing, in addition to instructions tor the modeler on how to proceed, a connection-post which attπbute"supeπor<onnection" has been set to refer to the only connection stub of the supenυr model-box. With this construction, any model-bkxk connected to such connection-post upon the subworkspace of a model-box is connected also with any object to which the model-box is connected through such supeπor connection. This implementation results in the generic ability tor the modeler to establish a connection between an encapsulated model-block and a bioPool, by cloning the desired model-block from the Palette of geneπc model-blocks and connecting to the unique connection-post upon the subworkspace ot a model-box connected to that bioPool As descnbed above, the generic formulas that provide the value for the Accumulation of each bioPool already integrates the output of any such connected model-block as either an absolute input, a scaled mput or an output, depending on the class (each connected at its predefined specific port) of the model-box that conta s the model-block. • As shown in FIC.19, the Model-blocks Palette (1901) is provided to the modeler, each being a default instance ot each ot the subclasses of model-block. Model-blocks (Table 22) and the different geneπc simulation formulas (Table 87) to compute their value of their output-1 attribute have been previously defmed Some examples ot the attπbutes for some subclasses with their default values are shown through the tables ot attributes of con-tant t (1902), exp.c.pdf (1903), exp.mpdf (1904). unif.c.pdf (1905), sigmoid .f (1906), and geneπc.model block t (1907) The latter is a very generic block that allows the modeler to create instances and configure as many attribute- a- required by denning their slots with any desired type ot value, mcludmg mstances of model-block-var. in w hicn .ase their specific formula would also have to be defined. The output-1 of this block is also a variable tor v ruch the modeler has to wπte its tormula. to incorporate as arguments the newly configured attnbutes • As shown in FIC.20, the bioProcesses Palette provides the most representative types ot geneπc bioProcesses prebuilt and ready to be cloned and further configured These preassembled and stored structures allow the repeated use of bioProcesses as building blocks ot more complex pathways Like in chemical systems, some bioProcesses are relatively simple and some may become more complex, but all are built with the basic building blocks (2504 through 2511) The modeler can, tor example, clone a R2 LI, which subworkspace (2008) compπses one receptor-bioengme connected with two receptor r (which may each be connected to difterent bioPools, if the active receptor is an homodimer ot two equal molecules, or to the same bioPool. if an homodimer of two equal molecules), and one ligand r at the top, and one bioProduct at the bottom After transferring the clone to the desired workspace, the bioProcess can now be configured, bv clicking on its icon and selecting its table of attnbutes Selecting details from its menu displays its subworkspace and provides access to all its components, which can now be configured by accessing the tables attributes ot the bioEngme, each bioReactant and each bioProduct, and each bioReactant-post and bioproduct-post BioProcesses have activatable-subworkspaces, which means that any object upon such subworkspaces are not recognized by the mference engine or the simulator unless the subworkspace is activated When new bioProcesses are cloned, their subworkspace are deactiv ated by default, and have to be activated selecting the "activate-sw" menu option available only when the subworkspace is deactivated • An alternative to the Palette is to clone another existing bioProcess with similar characteπstics and labels directlv trom a submodel, and then transferring them to the desired submodel and the configuπng its components Two menu options are prov ided to facilitate that task labeled "labeled-clone" and "dean-clone", which start either BP-labeled -clone-proc or BP-clean-clone-proc, respectiv ely The first procedure creates a clone of the bioProcess, and then sets the v alues of all the attπbutes except the label of all structures involv ed, including those of the bioProcess and of all the structures upon its subworkspace, to their default values The second procedure calls the first one, and also sets the values ot the labels attnbute of all structures involved to their default values • The bioEngines Palette and the bioReactants Palette shown in FIG 21 are provided tor the purpose ot allowing the modeler to a) modify individual mstances of bioProcesses cloned from the Palette, to accommodate particular infrequent needs, and b) to design new prototypic bioProcesses, by starting trom a clone ot an existing bioProcess and adding or removing bioReactants or bioProducts, or by exchanging the bioEngme tor another ot compatible type The modeler may want to modify the Velocity attribute ot any bioEngine, and to provide specific formulas to represent their favonte equations to best describe the paicess being modeled which have to refer to the specific set ot bioReactants connected to that bioEngme Such newlv designed bioProcesses may be stored as building-blocks in the appropπate Palette within the Modeler Palette Bin, as descπbec. • In addition, the modeler mav use a tabular-function (Table 74) as a look-up-table, from which the program is able to interpolate, to model a process bv enteπng expeπmental pairs ot values ot the independent and the dependent vaπables in such table, such as a dose response To facilitate that task, the menu option ' create-sw is detined tor the class bioEngine that starts the create-sw-for-bιoengιne-proc which creates a subw orkspace tor the bioEngine bv cloning the subworkspace ot the bioengine-sw -master, which contains a tabular-tunctιon-ot-1 -argument and instructions tor the modeler about how to use such a tabular-function • As shown in FIG 22, several steps are required to establish the connection between a bioReactant or a bioProduct and a bioPool To facilitate this process, and more importantly, to reduce the sources ot error w hile enteπng those values by the modeler, vanous methods are offered to automate the tasks ot creating and naming, or re ov ing the names, ot bioPool-posts, remov ing the names and the references ot ot bioRole-posts, and to set the appropriate v lues tor the ret-bioprocess of bioPool-posts and ret-bioreservoir ot bioRole-posts, a- following - The first step is to select the bioProcess (2201) and bioReservoirs (2205, 2207, and 2209) to be connected, it alreadv m existence, otherwise thev are created by cloning trom the Palettes and named BioProcesses and bioReservoirs hav to be named before their bioPosts can be named Bv selecting the "details" option (2203) from the menu (2202) of the bioProcess, and such of the bioReservoirs (not shown), their subw orkspaces (2204 2206, 2208, and 2210, respectiv ely) ot each ot them are displayed - the menu option "add-top-post" (Table 92) detined for the class bio ool starts the create-biopool-p-po-t-proc (Table 92), hich first scans tor the tirst tree stub ot those detined at an ev en-numbered port (pl)2 to pl2) and a) if one is found, it creates an instance of biopool-p-post, and aligns it opposite to such stub within the first lav er ot such biopool-p-post, b) it none is tound it then scans tor the first tree stub ot those defined at an une en-numbered port (pOl to pl l) and, it one is tound, it creates an instance ot biopυol-p-pυst and aligns it opposite to such stub within a second layer (more distant from the bioPool) of such bioPool-posts, and if none is tound, then: 1) it moves the existing biopool-p-post connected at the first port (p>01) to a more distant position, to start the next layer, ii) it creates an instance of biopool-p-post and transfers it to the next free predefined position within that layer; and c) it sends a message to the modeler with instructions for making the specific connection. Then it calls the pool-post-name-it-proc (Table 93) and returns. The "add-bottom-post" functions in a similar way, but it adds instead biopool-r-posts at the bottom of the bioPool. - The next step is to connect each of the bioRole-posts (2212, 2218, and 2225) to a complementary and not yet connected bioPool-post of the appropπate bioReservoir. Here the first pair (2211 and 2212) has been already- connected, which is not apparent to the user. In most cases, this process will first require to create a new bioPool-post of the appropriate subclass, by selecting from the menu (2214) of the bioPool (2213) either the "add-top-post" option (2215) or like here, the "add-bottom-post" option (2216), which results in the automatic creation of an appropriately named bioPool-post, and its transfer to the appropπate position (2217), which is close to the next available free stub with the same cross-section pattern on the bioPool. The modeler has now to establish the connection to the bioPool by extending its stub and joining it to the closest free stub on the bioPool, and then establish the distant connection to the bioReactant-post (2218). Here is shown how such distant connection is established between and already named and connected bioPool-p-post (2219) and the bioProduct-post (2225). Clicking on the bioPool-p-post (2219) in Modeler Mode displays its menu (2220), and selecting the "table" option (2221 ) shows its table of attributes (2222). Note that the tables shown here for a bioRole-post (2222) and a bioPool-post (2228) are shown with all the values already set, as they would appear for fully functional bioPosts. However, at this point m the connection process, the values shown for the "ref-bioprocess" (2235) would be the default value none, while the values of the "names" (2223) and the "label" attributes (2224), will be already set. The value of the "label" attnbute, is set to be the same as its name in the case of all bioPosts , and is used at run-time when usmg the alternative simulations procedures, as discussed under the Simulation Mode heading - The next step ts to give the bioRole-post (2225) the same name as the name ot the bioPool-post (2219) to which is to le connected. Here, this is accomplished by selecting either the "name" menu option (2227) or the "names" attπbute v alue slot (2232) of the bioRole-post (2225) and clicking on the name-display (2228) of the bioPool-post (2219) Note also that any time the name of any object is edited, its name-display (2228) appears in the proximity ot that object, and that name-display has text-insertion capabilities, in a way that whenever the text-editor is opened (which happens among other occasions when clicking on the "name" option of any ob|ect or on the value slots of the tables of attnbutes), clicking on such display automatically inserts its text into the slot or at the position of the cursor. In the current implementation of this invention, most name-displays are hidden by the developer or modeler atter they are used, since the labels are used instead to provide a more flexible and user friendly method of recognition for those objects when one is desired. In the case under discussion, all the names of bioRole-posts are hidden, while only the name -display of the last bioPool-post i- left as a means of also providing a reference to the name of the supeπor bioReservoir - Tlie previous step completes the basic connection process that allows the mference engine and the simulator to reason about those connections The additional step that follows adds information to those connected bioPosts that is used by the program to quickly access the components on the subworkspaces of those connected bioReservoirs or bioPa ess, even when the subworkspaces of those connected bioReservoirs or bioProcess are deactivated, which may be the case when in Simulation Mode, and which would cause the system to not recognize those connections, since the system would not recognize the connected bioPosts upon such subworkspaces A method is provided to facilitate and reduce the sources ot error in setting such additional mtormation. Once the bioRole-post (2225) and the bioPool-post (2219) are equally named, the "ret-bioreservoir" attribute (2234) of the bioRole-post and the "ref-bioprocess" attribute (2235) of the bioPool-post are automatically set to refer to each other's supenor bioObjects, as their names indicate, by just selecting the "set refs" menu option (2229) of the bioRole-post, which is only available when it has a name The "ret-bioreservoir" and "ref-bioprocess" attributes are in turn used by the program when the user selects the "show-br" option (2241) or the "show-bp" option (2242), which are available in the menus (2220 and 2229) ot bioRole-posts and bioPool-posts, respectively, only when those attributes have a value different than none - Alternatively, connections can be changed and previously connected bioPosts can be recycled by using consecutively the following set ot menu options, "unname-it" (2219) of the bioPool-post which only appears it it has a name, "unname-it" (2229) of the bioRole-post which only appears if it has a name, and "name-it" (2223) ot the bioPool-post which onlv appears it it has no name, which tasks are obvious and descπbed below, followed by clicking the name of the bioPool-post into the name slot of the bioRole-post and selecting the "set-ret-" (222 ot the bioRole-post. as described above tor new connections • -v more detailed descπotion of those methods with references to their definitions follow - the menu option "name-it" (Table 93) associated with the class bioPool-post is onlv available when tne bioPool-post has no name, and upon its selection by the modeler the pool-post-name-it-proc is started Thi- procedure gives the "names" attπbute ot the bioPool-post a name composed of the base name ot the supeπor bioReservoir (removing the endmg BR tag) followed by the default value ot the "label", which is a reference to the class and relative position ot that bioPool-post, such as PP4 referrmg to bioPool-p-post connected at port p04. and also colors the face-color region ot its icon - the menu option "unname-it" (Table 94) associated with the class bioPool-post defines an option which is onlv available in the menu when the bioPool-post has a name Upon its selection by the modeler it starts the poolpost-remove-name-proc, which changes the values of the names and the ref-biopnxess attπbutes ot the bioPool-post to their default value none, removes the base-name trom the value ot the "label" restoring it to it- default value, and resets the race-color of its icon to gray - the menu option "set-rets" (Table 96) is associated with the class bioRole-post It defines an option which i- onlv available in the menu when the bioRole-post has a name, and upon its selection bv the modeler it starts the rolepost-set-rets-proc, which changes the values ot the "ret-bioreservoir" of the bioRole-post and the "ref-bioprocess" of its connected bioPool-post to equal the names ot the bioReservoir superior to such bioPool-post and the bioProcess supenor to the bioRole-post, respecnvelv - the menu option "unname-it" (Table 95) associated with the class bioRole-post defines an option which is onlv av ailable in the menu when the bioRole-post has a name Upon its selection by the modeler it starts the rolepost-remov e-name-proc, hich changes the values ot the ' names ' "label" and "ret-bioreservoir attπbutes ot the bioRole-post, and the "ref-bioprocess" attπbute ot the bioPool-post, to none • The metabolic and regulatory pathways ot cells and organisms are composed ot a large number ot processes To simplify the overall structure ot the system, or when the intermediary detail is unknown, it is possible in the currently preferred embodiment ot this inv enhon to consider parts of such pathways as black-box-bioProcesse- with inputs and outputs connected to other modeled pathways or to other black-box-bioProcesses, which are not modeled in detail It and when it is desired to model disturbances at specific points in the pathway represented by a black-box-bioProcess, it can be split into the pathway before and the pathway atter the regulated location, which is represented by a normal bioProcess vv ith the two new pathway segments now represented by two new black-box-bioProcesses, and the segment where the disturbance occurs to be defined and modeled • In addition, it may be desirable to model a pathvv av as a s gle lumped bioPaxess Such mav be the case tor an enzvmatic pathway tor which a) the details mav be unknow n or not desired, b) only the inputs and tlie outputs are relev ant, and c) sufficient quantitativ e or quali tativ e information is av ailable about the rate limiting enzymes and the inputs Because of metaKilic and energy/ mass conservation constraints, only a few ot their net conversion rates are independent variables, and the others are mutuallv dependent, v arious ot those reactions can be combined and the pseudo-steadv-state approximation ot the combmed process can le used instead For these cases the currently preferred embodiment ot this inv ention prov ides enzvme-bioPaxess subclasses w ith two or more enzvme-bioReactants, with their Velocity depending onlv the Concentrations of those enzvme- together w ith the substrates that are inputs to the pathway and the products are outputs ot the pathwav ignoπng the in termediaπes and other participating enzvmes The following are examples ot ov erall rates or synthesis resulting the production ot a cvtokine, IL2, as a cellular response to its binding ot another extracellularlv prov ided cvtokine, lFN-α. that could be represented bv a set ot bioReservoirs and bioProcesses, to represent each ot the terms ot the equation - rs(TF-ir . _) = ki * [IFN -o ) and - rs(mR\A-.L_) = k: * (TF-lFN-α|, or rsOi.K. \Λ IL2) = 1 + k_ [IFN-α] / 1 * π | IF -_j+ k_, - r . ι__) = k * * |mRNAlL_.|, e) Biochemical Modeling Techniques • To be connected to each other and integrated into pathvv avs bioReserv oirs and bioProcesses must hav e uniαue names • For bioReservoirs that represent the input into the system ot a sv nthetic agonist or antagonist a) the Concentration has a) a normal default initial v alue ot O 0, b) has no modeled inputs trom bioProcesses, and c i it mav be modeled bv a model-block Howev er quantities ot that compound mav be transferred to another bioReserv oir in a different compartment and that latter bioReserv oir i- a regular one • It mav not be desired in most occasions that the svnthesis of macromolecules, such as DNA, RNA and proteins be v isuallv modeled bv bioProcesses, because ot its complexity and the large number of steps or components mv olv ed In these situations, the svnthesis component mav also be modeled by adding a model-block to one put-box connected to the bioPool, which is represented by the additional term already integrated in the Accumulation equation The output of this model-block mav define a global svnthesis-rate (rs(t)) that mav be made dependent on the values ot any other v -anable ot the system multiplied by a synthesis-rate-constant (k rs ) parameter, a separate attnbute of the model-block The k re may also be dynamicall y increased or decreased (bv multiplying by appropriate factors) as defined in rules or procedures which are fired or called as a result ot the activation or deactivation ot other bioProcesses, which directlv or indirectl y regulate the processes of DNA-transcπphon mto mRNA, mRNA-splicing, mRNA-translahon mto protem precursors, or the processing ot the precursors into the active-form ot the proteins (all or part of which mav or mav not be visuall y modeled ι • W ien degradation or diffusion are important components ot the model, thev can be separately modeled bv a) using additional bioProcesses to model those processes, or b) adding a model-block to the output-box connected to the bioPool, or c) using additionally defined degradahon-rate or diffusion-rate parameters respectiv elv, and modifying the formula accordingly by adding the corresponding terms The first nvo approaches are recommended because thev are more flexible and modular • Processes in which the binding step is the limiting factor (the catalytic or other actions are fast so that the ES complex is very short-liv ed), are usually modeled by a smgle bioProcess If the complex stavs around exposed to other interactions, t bioProcesses mav be used a) complex-formation and b) catalytic or other action, each w ith its respectiv e constants Inhibitors and antagonists should as frequentlv as possible be modeled bv separate bioProcesses • In the svstem ot this invention, the intermediary complexes that are formed in enzvmahc reactions and their concentrations such as [ESι| or |ESlS_|, are preferably not explicitly represented, unless thev are the specific targets ot regulation or translocation to difterent compartments Otherwise they are implicitly represented v ithm the model equation ot the bioEngine • Reaction svstems ith two or more substrates of the ordered or ping-pong types, mav be represented bv either one bioProcess with tw o substrate r, in conjunction with the appropriate Velocity equation, or bv two separated bioProcess in series Preferable, these types ot reactions are modeled bv tw o bioProcesses m which tlie participants are represented as following a) the enzyme and the first substrate are the enzvme r and substratel R ot the first bioProcess, b) the bioPool ot the enzyme-substratel complex is represented by both a bioProduct ot the first bioProcess and bv the enzyme r for the second bioProcess, c) the second substrate is the substrate r ot the second bioPaxess, and d) one bioProduct ot the second bioPaxess mav be represent the bioPool ot the enzvme To be more accurate, the ping-pong case the bioProcess cannot be said to be first or second since the enzvme oscillates betw een the "free' and the "complexed" states • In reactions w ith cooperativ ltv, such as allosteπc reactions ot an enzvme w ith n equiv alent substrate binding sites can be either modeled by a) one bioProcess with a IE nS 11 HMME bioEngine with each ot the n substrate r representing the same bioPool, each with a stoichiometπc coefficient equal to 1 but each with a different effectiv e Km corresponding to each additionally bound molecule, and a Velocitv tomiula representing a Henrv -Michaelis-Menten equation, as shown in — , or b) one bioProcess ith a lE lS l Ol HE bioEngine ith one substrate r with stoichiometnc coefficient equal to n, and the Velocity formula representing a Hill equation, as shown in — In that case, the overall aftinitv constant ( K = φ*K' Λ (n), where φ = α*β _ ■ * ) ι- equiv alent to the product of the Ki' of the first bound site times the seπes of K' times the coefficients bv w hich each molecule ot ligand bound modifies the aftinitv ot the other sites • Allosteπc reactions ot an enzvme with binding sites tor two or more different ligands either substrates inhibitors or modifiers, can be either modeled bv a) one bioProcess in vv hich each ligand is represented in the formula tor appropπate class of \ anable providing the Velocitv, or b) two or more bioProcesses, in series or parallel or both when the mechanism ot the reaction is known and mtormation is available The latter case is preferred where separate bioProcess, one tor each ligand. compete ith each other tor the common component! s ) w ith an strength dependent on their respectiv e affinities and Concentrations In addition to the cases abov e it is m general preferable to model sev eral complex-torm-process in the follow mg cases, as described m more detail below - all tvpes ot inhibitions in which an irrev ersible complex is formed such as E * I -> El, or E + S - I -> SE1 - the effects of antagonists, such as R + Ant -> R-Ant, and - the feedback activ ation or inhibition bv products such as E + X + P -> P + * t * Z w here P is the product ot either this reaction or a downstream reaction • Difterent tvpes of inhibitors mav be modeled in a vaπety ot wavs to show different behaviors, usuallv nv iving a complex-torm-process in which the resulting complex would have different characteπstics - A competitive inhibitor and the substrate are mutuallv exclusive, which means that El does not bind S, but it may result in E + S + 1 <-> ES + EI-> P This type ot reversible competition is best modeled as one enzvmeEngme comprising enzyme r, substrate r and inhibitor r, and a bioProduct with its matching standard kinetic equation The mtermediarv complexes may be modeled if desired by editing the value of the time-lag, to account tor the time the E, S and 1 spend in the complex forms ES and El, not explicitly modeled othenvise The same approach can be applied to any other class or type ot bioProcess, when appropriate - An irreversible inhibition is equiv alent to enzyme remov al from the svstem, with the Vmax reduced, and it is therefore best represented by two parallel bioProcesses, ot different classes a) an enzymeProcess tor E + S -> P, and b) a complex-torm-process tor E + I -> El The production rate ot P is influenced by the Concentration ot S directlv, and 1, indirectly, while the production rate of El is indirectly influenced by the Concentration ot S It mav also be represented by one enzyme-process con taming enzyme r, substrate r and inhibitor r, and two bioProducts (E + S + I -> P + El), with its matching standard kinetic equation - An uncompetitive inhibitor may bmd reversibly to the ES complex yielding inactive ESI complex, but it does not bmd to enzvme alone This model needs some modifications of the regular bioProcesses, because it requires access to an mtermediarv complex that is not explicitly modeled in the system of this invention in a standard enzvme-process ( E + S + 1 -> P) This type ot reaction may be represented by three bioProcesses, first in seπes and then in parallel a) complex-form -p xess E + S -> ES , b) enzvmeProcess ES -> E + P, and c) complex-torm-process ES + 1 -> ESI It may also be represented bv one enzvme-process compπsmg enzvme r suostrate r and inhibitor r, and one bioProduct ( E + S + I -> P), with its matching standard kinetic equation - A noncompetitiv e inhibitor and the substrate do not affect each other s bmding to the enzvme, howev er the tπmeπc complex 5EI ( ES + I -> SE1 or El + S -> SEI) may be inactiv e The mam effect is a sequesteπng ot either enzvme or both enzyme and substrate, and the Vmax is reduced This tvpe ot reversible competition is best modeled by three ditterent bioProcesses an enzyme-process E + S -> P (a), and tw o complex-form-process E + I -> El (b), and E + S + l-> SEI (c), where (a) and c) hav e the same Ks and (b) and (c) hav e the same Ki It mav also be represented by one enzyme-paxess compπsing enzyme r, substrate r and inhibitor r, and three bioProducts ( E + S + I -> P + EI + SEI), with its matching standard kinetic equation - A mixed-type inhibitor 1 is such that rev ersible binding ot either I or S to E changes the Ks or Ki of the other bv a factor u yielding ES, El and mactiv e ESI complexes It mav be best represented by three different bioProcesses an enzvme-process E + S -> P (a), and two complex-torm-process E + 1 -> El (b), and E + S + I -> SEI (c), where (a) and (c) hav e ditterent Ks and (b) and (c) hav different Ki The Ks' ot (c) mav equal the Ks of (a) multiplied bv α, or similarly, the Ki' ot c = α*Kι, where α is a cooperativ itv-coethcient that mav be introduced as a factor m the formulas ot the respectiv e Ks or Ki • Ditterent tvpes ot feedback regulation bv downstream products is represented bv different sets ot bioProcesses As examples are giv en the follow mg cases ot feedback inhibition bv more than one product - Cooperati e or svnergistic inhibition is when mixtures ot Pi and I _. at low concentrations are moi e inlnbitorv than the sum of inhibitions bv each at those concentrations, and at saturating lev els of either on ot the products Pi and P:, the v elocitv ot the reaction mav be dπv en to zero It means that both Pi and P. can combine w ith E simultaneously to form EPlP. complexes This svstem mav be represented bv 4 bioProcesses an enzvme-process E + S -> P (a), and three complex-torm-processes E + li -> Eli (b), E + I: -> El: (c) and E + Ii + 1: -> HiI- (d), , where li = Pi , and I: = P:, and where (d) have ditterent Kn and Ki: than (b) and (c) (the K ii ot (d) = α*Kn, and the K'ι: of (d) = β*Kι:, where α and (J are cooperativ itv-coefficientsi - Cumulative or partial inhibition is when each end product is a partial inhibitor, and a saturatmg lev el ot one alone cannot dπve the velocitv to zero Each of ll or I: alone either increases the Ks ot S (partial competitiv e inhibition) or decrease kd ot E (partial non-competitiv e inhibition ) or both (partial mixed-tvpe inhibition i True cumulative inhibition results in the second case, w here the total inhibition factor is n = n + ι: *(l -h I This tvpe ot reversible competition is best modeled bv three different bioProcesses an enzvme-paxess E * ■ S -> P (a), and two complex-form-processes E + ll + l_ -> Elil: (b), and E + S + ll + l_ -> ESlil; (c), w here (a) and c) hav e the same Ks and (b) and (c) hav e the same Kil and Ki. It mav also be represented bv one enzv e-proces- comprising enzvme r, substrate r, inhibitorl r and ιnhιbιtor2 r and three bioProducts ( E + S + h + I: -> P - EIli_ + ESlil: ), vv ith its matching standard kinetic equation - Concerted or multiv alent inhibition is w hen both end product- hav e to be present to be inlnbitorv and eιtne r alone has no effect on E It means that either Elil- dies not bmd S or ESI 112 is inactiv e It mav be represented in two alternative ways, either by: 1) two bioProcesses: one enzyme-process: E + S -> P (a) and one compiex-form-process E + Iι + I: -> Elil: (b), or 2) one enzyme-process: E + S + ll + l: -> ESl il: (c) . In both (b) and (c), the matching standard kinetic equations include a term to represent the concerted effect of 11 and I:, that is proportional to the Concentration of ll multiplied by the Concentration of 1: . - Additive inhibition implies the presence ot two distinct enzymes or catalytic sites, each sensitive to only one ot the feedback inhibitors. This type of reversible competition is best modeled by three enzyme-processes- a) E + Si + 5: -> P; b) E + Si + S:+lι -> P; and c) E + Si + S: + L_ -> P. It may also be represented by one enzyme-paxess comprising enzyme.r, substratel .r, substrate2.r, inhibitorl .r and ιnhibitor2.r, and one bioProduct ( E + Si + S: - ll + I: -> P + Elil: + ESIit ), with its matching standard kinetic equation. - Sequential inhibition is when downstream of El and Si, one product Pi inhibits enzyme E: and another pnxiuct P; inhibits enzyme E? of another pathway of utilization of Si. When both Pi and P: ==are at high levels. S' accumulates, and Si may also inhibits El This type of feedback mhibition is best represented visually by a combination of the appropriate bioProcesses, as descπbed above, in parallel and in sequence as required • Lumped Enzymatic Pathways. In occasions, it may be desirable to model a pathway, such as an enzymatic pathw ay, for which, a) the details may be unknown or not desired, b) only the inputs and the outputs are relevant, and c) sufficient quantitative or qualitative information is available about the rate limiting enzymes and the inputs. Because of metabolic and energy/mass conservation constraints, only a few of their net conversion rates are independent vaπables, and the others are mutually dependent, various ot those reactions can be combined and the pseudo-steady-state approximation of the combined process can be used instead For these cases, the currently preferred embodiment of this invention provides enzyme-bioEngines classes with templates and stubs for two or more enzymes, and which formulas consider only those enzymes, together with the substrates that are inputs to the pathway and the products that are outputs of the pathway, ignoring the intermediaries and other participating enzymes • Black-box-bioProcesses. The metabolic pathways of cells and organisms are composed of a large number ot chemical reactions and compounds, that, assuming normal physiological conditions, maintain the steady-state of the system To simplify the overall structure ot the system, in the currently preferred embodiment of this mvention many of such metabolic pathways are considered as a black box with inputs and outputs connected to other modeled pathways or two other black boxes, and are generally not modeled. The black boxes are considered, until better defined, as a collection ot constitutive bioEntities interacting under steady-state conditions. If and when it is desired to model disturbances at specific points in the pathway, the black-box can be split into the pathway before and the pathway atter (both of which remain like black boxes) , and the segment where the disturbance occurs to be defmed and modeled. f) B Handling Challenging Aspects of Modeling Complex Systems' Behavior • Modeling internal Mechanisms of Cells - The transfer of molecules trom compartment i to compartment j dees not happen at once, but rather follow s Gaussian distribution, which may be modeled using the corresponding model-block to from w Inch the rranslocation-rate would be dependent. The bioEngines have also a "time-lag" attribute, detined as the time interval between the availability of the bioReactants to the bioProcess and the the availabilitv ot the bioProducts to the next bioPool, which can be used for processes where translocations of molecules or cell- are involved The analytic equations for the distribution of bioEntities in consecutive pools, are a function ot the initial concentration of the first bioPool and the corresponding translocation-rate constant ( k) and time-delavs (d), respectively, of tlie successive bioEngines. For example, to model the series ot translocations ot proteins thaiugh the several compartments which they are processed atter their synthesis, with the system ot this mvention, the modeler would clone from the Palettes set of bioReservoirs and bioProcesses of the appropπate types o represent the different terms ot the following equations, which are then transferred to the appropriate compartments, connected and configured, and desired values are given to the model parameters Translixation rates between compartments could be expressed as translocation half-times, defined as • t j . πu = ' n '- ' ^nu'- where K nu is the rate constant tor paxessing in the nucleus or the rate constant tor transport from the nucleu- to the ER, or both lumped together For steady-state balanced growth, where μ=0 and rp(t) is the rate of transcription in the nucleus (molecules/hour/cell): [RNA| nu b (t) = rp(t)/ K nu . The additional equation- that follow are similar to those proposed for cell cycle-dependent paUein accumulation by Bibila _ Flickinger, (1991 ). Biotechnology and Bioengmeeπng 38 767-780, and have to be adapted for u-e in the simulation formulas ot the system of this invention which takes a dvnamic approach - IX-, 1 = ?X 1 * [X 1 l ϋ * e- rt (thιs ιs ER) - X 2 1 = ?X / ι * [Xι l 0 * (e- l *t '-e- k2 * t V k- j / (k 2 -k 1 ), where t'=.-d) (this is Colgi) - |X 3 1 = ?X 2 /§X ] ' • |X l 0 * (-(«?' k "-l)/k 1 + (e- k2*t ' -l)/k 1 )/ (k 2 -k 1 ), w here t"=t-d 1 -d 2 (this is extracell comp tor secreted proteins) - On manv occasions, the newlv generated molecules are secreted, while on other occasions, tlie new Iv generate- molecules are retained in the cell, either to maintain housekeeping functions, which are usuallv included in the steadv-state and no implicitly modeled, or they result in new cellular functions, m which case, its mechanisms are graphically modeled If this response results only in proliferation, the mference engine mav monitor the simulation of the cell mechanisms, and based on the values ot certain v aπable or sets ot v aπable, mav cvclicallv activ ate the next phase-compartment in the cvcle However, if the response results in cellular differentiation, the mference engine activates a difterent cell -bioModel, it such exits, that represents the new stage ot differentiation, or will send a message to the user otherwise - The ditterent bioProcesses in a cellular bioModel mav be activ ated tor ditterent penods of time, it placed w ithin sequential time compartments, but thev will be overlapping with manv other bioProcesses contamed the GO-phase-compartment, which are not deactivated duπng a simulation BioReservoirs that mav be participate in two different sequential time compartments are preferably located and contained within the GO-phase-compartment, to mamtam the conhnui tv and to carry ov er the v alues ot its concentration / densitv / scaled-amount faim one sequential discrete time compartment to the next These temporal compartments represent somewhat defmed cellular phases with different activities - Mechanisms that are well studied in one animal species can be interpolated in the pathwavs ot other species where the pathway mav be less understood, such as in humans, by clon g the submodel contain g the bioReserv oirs and bioProcesses trom the first species and transterπng to the appropriate compartment of the second, and then renammg and reestablishing the appropriate connections For instance, the genes that participate in programmed cell death or apoptosis in the nematode C elegans have been identified and it appears that cai-9 acts bv inhibiting ccd- 1 or ccd-4 activ ity Since the human bcl-2 is also activ when inserted mto C elegans (Vaux et al , Science 258 1955) and it is also believ ed to be the homologue of ced-9 a model equiv alent tor that tor the interactions ot ced-9 with ced-4 or ced-4 can be also constructed tor bcl-2 with ced-3-lιke or ced-4-lιke - BioPools that represent points ot entry tor non-physiological substances, such as drugs or synthetic agonists antagonists or inhibitors that are not produced within the cells, at the compartment vv here it is first introduced have the following characteristics a) they receive their values onlv from external sources, such as a simulation-panel, initially, the concentration equals the external input, and therefore X inputs = entry Value, b) thev hav e a basalConcentration v alue of 0, c) thev have no schematicall y modeled inputs, d) e) thev may hav sev ral schematically modeled outputs thaiugh modification- and translixation-bioPrixesses, in addition to the decav term that represents diffusion, degradation and dilution, and e) the quantity v anables ot those bioPools cannot obtain values higher than those mputted by the user, but mav get smaller ov er time due to the outputs and the decav tactor ( | As]*(μ+£ outputs) (enfrvl) When that compound is modified or translocated to another compartment the latter s is a regular bioPool but still constrained • Modeling Cell Population Dynamics - There is a number ot wavs of modeling and simulating cell population dynamics, usmg this inv ention A number ot attπbutes detined tor the classes cellReserv oir, cellPool. cell bioModel, and other bioObiects can be u d to hold parameters and v anables to be used for that purposes Follow mg the teachings ot this mv ention other attnbutes can be similarly defined and used to better meet anv particular biological sv stem to be modeled or hvpothesis that a user mav want to test, or to meet the needs for anv monttoπng or control svstem that use those biological models Some examples are presented beiow - The state transitions are represented in the svstem ot this invention bv translocation bioProcesses betw een t bioPools each containing entities in the former and in the latter states at a rate that is determined vv ith one ot three approaches a ) mechanistic approach b)probabιlιstιc approach, or c) deterministic approach - In the mechanistic approach, the rate ot the translocation process w ill be dependent on the dvnamicaliv changing v lues ot certain v ariable or combination ot variables implicitl y modeled inside an indicated cell-bioModel, reaching some threshold v alue(s) With this approach the high-lev el models mav be integrated w ith the mechanistic models representing both the spatio-temporal integration in a single cell-bioModel and the quantitativ e data about populations ot such cell modeled This mechanistic approach is currentlv difficult to implement tor the particular domain selected tor this inv ention since there is not sufficient information av ailable This approach can be implemented w ith better know n stems other domains 5b - For some simplified m vitro biological systems, such as oocyte extracts, a mechanistic approach is used to model a transition which mechanism is known or expected, such as the role ot the interplay between cyclιn-B2 and the phosphorvlated and dephosphorylated forms of the cdc2-kιnase in the transition trom the G2 to the mitosis phases of the cell cycle The rate of increase in the number of cells with a cdc2 ** cvciιn (cc)level greater that e> in a given cell cycle phase = traction ot cells in that phase (G j ) * (the rate at which cells w ithin that phase reach a cdc2* *cvclιn level ([cc) G1 ) greater that f> - the rate at which cells with cdc2* *cvclιn lev el greater that n leaves that phase ) - The following is an example of how a simplified mechanistic approach can be implemented The rates ot growth in eukaryotes and the rates ot translocation from one cell-state-pool to the next can be represented as a linear or non-linear functions ot the concentrations of specific molecules, such as external regulatory factors, regulatory enzymes, and total and specific mRN As For example, if a limiting protein L determines the transition trom one time-compartment to another, then the expression ot the mRNA for L could regulate that transihon Furthermore, the growth-rate μ can be represented as a linear function of the concentration ot a giv en specific mRNA , and the rate of mRNA transcription can be represented as a non-linear function of the concentrations of two or more growth factors (or other regulators), or it can be assumed to be a combination ot growth associated and stimulus-dependent kmetics In turn, the steady state values of all enzyme synthesis rates and the total specific RN A level are a function (linear tor RNA) of the steady-state specific growth-rate μ The total RNA can be used as a measure of the growth resources of the cells, since the ability to increase a stimulus-induced specific sRNA is limited bv the amount ot synthesis proteins, which in rum is limited bv the amount ot total RNA Because the relatively high rate ot RNA turnover and the dilution effect ot cell growth, the [sRNA| responds immediately to a removal ot the stimulus-effector With an increase of the stimulus-effector, the rate of increase ot [sRNA| is controlled by a time constant which is inversely proportional to the total RNA ot the cell (Copella &Dhurjatι 1990 Biotech Bioeng 35356-374) With the system of this mvention, the modeler would clone trom the Palettes set ot bioReservoirs and bioProcesses of the appropriate types o represent the different terms ot the follow ing equations, vv hich are then transferred to the appropriate compartments, connected and configured, and desired values are given to the model parameters The followmg equations hav e to be adapted tor use in the simulation formulas ot the svstem ot this invention (μ = k x * (|mRNA| - |mRNA|o)-> (1 /h) = (gX/gRNA) * (gRNA/gX/h), i = k χ /( μ + k χ *| mRNA)o/|X]), where k χ is the rate constant tor mRNA transcription (gRNA/gX), . is the time constant (gX/gRNA), and |mRNA]o/|X) is the specific |mRNAl at μ=0 The ga th rate can also be v ιewed as the sum ot all rates m one simple anabolic pathwav div ided bv the total mass (growth trom glucose in bacteria) μ=(∑r,)/ [X) The number of generations Φ = log(2)((X - Xo)/Xo)) - μ ' C 1 * e u ' - J t , ' " C1 (χ)dx - C 1 * el J ' » (|cc] G1 (o) * λ C1 (ι_.) - r(C r >S) * ) ° θ(x)dx), where λ G1 (x) and β(x) are the trequencv functions describing the cc content distribution tor cells m G ) and G j ->S transition respectiv elv and r(G- j ->S) is the rate constant that describe that transition r(G 1 ->S) = μ / G j * (\ ( ι - G- + S) r(S->G->j = μ / S * IN,! - C 2 ), r(C 2 ->C ) ) = μ / C 2 * N 0 - The following equations are examples of how ov erall rates ot synthesis can be used to implement black-boxe- w here each of those equations pa v ide the v alue for the Velocitv ot the black-boxes to be represented bv the corresponding type ot bioProcesses tor IFN-α -> IL2 rs(TF-IFV-) = ki * [IFN-α| and rs(mR. \ \-IL_) = k: * ITF-I7N -α| ( or rslmRNA !_:) = 1 + k_ |IFN -α] / 1 + k_ [IFN -_.]+ k-,), rs(IL:) = k^ * |mRNAlL:| - Bv using the concentrations v aπables ot sol-mol-pools, expressed as moles per v olume units rather that per cell it would not be necessary to ad|Ust the steady-state concentration w ith grow th for constitutiv e enzvmes since it is assumed that both increase at the same rate, while tor regulated enzvmes, the dilution effect is more apparent since it is not paralleled bv synthesis In the current implementation focusing on regulatorv processes since most ot them take place in the form ot large molecular complexes, highly localized in some parts ot the cell it would be more meaningful to use the defmed density vaπables (molecules per cell) To synchronize the simulation trom the lntracellular to the cellPool lev el, the quantities ot all the bioPools of extracellular molecules are halved at each cell div ision transition In addition, specific rates are rates per cell, and total rates are specific rates multiplied bv the cell density Specific cell components mav increase throughout the cell cvcle a) continuously at a constant rate, b) at a rate that doubles w hen the DNA is replicated, c) at a progressiv elv increasing rate which follow s tist-order kinetics, or d) discontmuouslv , accordmg to a sequence of ev ent- w hich changes the rates in a complex pattern - When the mechanisms are unknown, a deterministic approach mav be taken with the transitions modeled as a time-dependent events As shown in Fig 2, the cell-phase compartments which are holders ot mechanistic models, also have an attribute "interval" to hold information about the experimentally observed duration or that phase of the cvcle, which can be used durmg a Simula hon-run to deterministicallv deactivate such subworkspace when that period of time has elapsed since the subworkspace was activated or whenever anv tvpe ot known constraints are met In the deterministic approach, the rate of the translocation process is defined by a rate constant, which may have a constant predefined value, or its v alue may be vanable and set at run-time by a simulation formula, an expert rule, or procedure, such as one that reads the phase's "interval" just descnbed, or it can be modeled by a model-block The transfer ot cells from cellPool i to cellPool j does not happen at once, but rather follows a Gaussian distribution, which mav be modeled usmg the corresponding model-block - Following is an example of a high-level representation of the effect ot some drug on cell growth, when there is partial mechanistic knowledge available, but where most of the manv other steps in the pathways leading from the external drug to the regulation ot cell growth are unknown In a svstem where enzyme Xi produces a soluble substance c which is used in the formation of active enzyme X: If Xi and X2 represent the total amounts of Xi and X: contained in n cells, and if X: is the component which, upon reachmg a threshold, determines the ixcurrence of cell div ision, so that n = βX2, where β is a constant, then assuming steadv-state, when c remains at a steady concentration and therefore the formation of X: is proportional to [Xi]), follows that d[c]/dt = A(Xι/n) - B(Xι/n)lc) - C[c] = 0, (1) where A, B, and C are constants From (1 ) it can be said that c - β Xi / X∑, and following a set ot deriv ations it results that the growth rate is k = d(ln n)/dt = d(ln X2)/dt If now c decreases trom the action ot some drug, then X_ which is proportional to [c| decreases The cell growth rate dn/dt = β dX2/dt will also decrease The effect of the drop in c is an increase m Xi relative to X2, until a new level of Xi is reached that restores the cell growth rate to its initial v alue In the representation used in this invention - the 1 st term is represented by an enzyme-bioProcess corresponding to the formation of c by Xi, where the enzvme-bioReactant would be connected to the bioPool of Xi, the substrate-bioReactant would be connected to the bioPool ot the precursor of c, and the bioProduct would be connected to the bioPool of c, - the 2nd term is represented by an complex-tormation-bioProcess corresponding to the consumption ot c in the formation of X: trom c and other subunιt(s), connected to the appropπate bioReservoirs, and - the 3rd term could be represented, depending on the specific biologic mechanism to be modeled, by a) a complex-tormation-bioProcess corresponding to the consumption ot c in the formation of a complex leadmg to the loss ot c bv degradation by a ubiquitm-dependent mechanism, connected to the appropriate bioReservoirs, or b) a translocation-bioProcess, representing other mechanisms of loss ot c, such as bv diffusion connected to the appropriate bioReservoirs, or c) implicitly represented by the degradation-coetf within the formula that determines the current amount of c, which mcludes a term with default degradation - in this svstem the scaled-amount set ot v aπables is used, because vv hat is relevant tor the behav lor of the svstem are the relativ e v alue of X2 in relation to its threshold, which determines cell division and the ratio between X1/X2, which regulates the rate ot production of X:, and not their absolute amounts - the v alue ot the number-ot-cells attribute of the cell-bioModel that contain those bioProcesses and their corresponding bioReserv oirs, is doubled w hen the scaled-amount ot the bioPool of X: reaches the threshold and at the same time, Xi, X2 are halved while [c| remams constant - The above example is an oversimplification, and in fact much more is currentlv known about the mechanisms that determine the initiation ot mitosis, in which complex iπterdependencies are involved, such as the equi alent ot X: , a complex regulating not onlv the rapid increase in its production by a positive feedback loop upon the equiv lent of Xi, but also X: regulatmg its destruction by activatmg an enzvme in the ubiquitm-dependent mechanism, and X: regulatmg its lnactivation bv activating another enzvme that converts Xi back to c In general the absence ot diffusion, the simple case that might produce organization in time is that of two concentration v ariables, Xi and Xi, w here the v alue ot each is dependent on the value ot both such as vv hen d[Xi7| dt _ v ι (Xι,X:), and d|X:l /dt = v : (Xι,X:> - Other high-level physiological events can be modeled in a similar manner, such as consider g different cells subsets (1 e neutrophils) changmg compartments (intravascular -> interstitial space durmg inflammation) as mduced bv cvtokines (1 e TNF-α. w hich is produced upon activ ation bv macrophages, neutrophil-, T-lvmphocvtes natural killer cells and mast cells), in chemotactic-bioProcesses The hme-peπod that a cell subset stavs in such a compartment depends in part on the expression of adhesion proteins (such as E-selectin ELAM-1) or lCAM-1 bv endothelial cells, which expression is mduced bv TNF -_), that will be components of -eil-interaction-bioProcesses • Modeling Progression through Different Cell States: The Cell Cvcle and Cell Differentiation - Each cell-phase has two attributes called the Generation-number (Φ) and the Number-ot -cells (N, per volume unit) At each cell div ision at the mechanistic lev el, that is, when the subworkspace of the M-phase compartment is deactivated and optionallv the subworkspace of the Gl-phase compartment is activated, predefined exper* rules set Φ = Φ + 1 and N=2n for each cell-phase of that cell-bioModel Another attributes called Mass-per -cell (X), can optionallv be giv en a v alue and used to calculate specific v alues as a function ot cell mass in which case predefined expert rules (Table 78) set X = X/2 for the Go-phase, and the Gl-phase if applicable, ot that cell-bioModel, and then the v alue of that attπbute would be modeled as dependent on time or as dependent on anv other vaπable(s), such as the concentration ot some specific mRNA(s) or proteιn(s), until reaching again a v alue ot X or close to X In turn, the value of X can be used to adjust other quantities or to control the activation and deactivahon ot the subworkspaces ot each successive cell-phase of that cell-bioModel, making it dependent on cell-size The equiv alent at the population lev el at mitosis is that n cells from the M-phase bioPool are translixated to the GO-phase (or the Gl-phase dependmg on the situation) bioPool while multiplied bv 2 so that the CO(Gl )-phase bioPool receives 2n cells - FIG 13 is a representation of the mechanistic approach, and attempts to represent on paper vv hat can be achiev ed dynamically at run-time applving the innovations of this invention If we assume that a cell is m Go-phase state and focus on that state s sub-workspace (1301), and there we assume that v ariables represented a Z and W hav e received the v alues z and w respectively, then following the implementation described in this inv ention a rule w ill be inv oked (1102) that w ill activate the subworkspace of the Gl 1-phase (1303) compartment Activation of Gl 1 -phase s implies that all the v aπables and parameters encapsulated w ithin the bioObjects contained upon that subworkspace will be av ailable to the simulator, and the data flow can now continue through anv branch ot the pathways represented there Therefore, upon required ev ents being satisfied, such as Z and W reaching certain thresholds -vv hich could be an effect of bmding one or more grow th factors to their receptors on the cell membrane-, the cell makes a transition from the GO to the Gl 1 phase The subworkspace ot the Gl 1-phase remains activ ated during the whole simulation run because it contains all those bioProcesses that are not cell cvcle specific Focusing now on the simulation of the Cl 1-phase (1303), two expert rules could be inv oked, saving that " Whenev er v anable A receiv es a v alue a > ol then activ ate Gl 2-phase w " (1304), or "If X and Y receive values x > _2 and v > n3 then activ ate Difterentiated-Cell _ (1305) and depending on which one is oked first, either the subworkspace ot the Cl 2-phase (1306) compartment or the subworkspace ot the Differentiated-Cell sw (1307) compartment w ill be activ ated since the subw orkspace ot the Gl 1-phase (1306) compartment w ill be deactivated bv another tw o expert rules that state that ' Whenev er the subworkspace ot the Cl 2-phase (or Differentiated-Cell) is activ ated then deactiv ate the subworkspace ot the Gl 1-phase This way ot reasoning applv to the other cell-phases as w ell vv ith the difference that the options v arv tor each cell-phase For example the Cl 2-phase (1306) and S-phase ( 1308) mav be committed to onlv one option, ith the time for progression to the next phase being determined bv one rule a- show n w hile the G2-phase (1309) and M-phase (1310) hav e tw o options and which one vv ill be activ ated I- controiled bv two rules, as described above One ot the options, Apoptosis (1311) is a dead-end stage representing regulated cell death While in M-phase (1310), a liv e cell's program tells tt, before or during cell div ision to continue proliferating, in w hich case one or both the daughter cells enteπng again the Cl 1 -phase bv activ ating the subworkspace of the Gl 1-phase, or to exit the cell-cvcle, in which case the simulation continues with onlv the Go-phase Note that the options tor each one ot the cell-phases hav e been predefined bv the characteristic number ot stubs tor each subclass - The dynamics svstem diagram in that figure is used to represent that the defined attnbutes of the subclasses ot cell-phase contain a v anable that allow s to keep track ot the proportion of the cells, trom the original numoer on Go-phase, are progressing through the phases ot the cv cle as an altemativ e to build a model w ith a set ot bioReserv oirs and bioProcesses This v anable can be modeled using a probabilistic or mechanistic approach In a probabilistic approach for representing cell-phase distributions, a balanced growth tvpe ot cell population is characterized bv such distributions, which is a time invariant property even if their total number increase exponentially with a constant specific growth rate μ Each of the subsets of that population w hich represent ditterent cell-phases, and w hich can also be represented as separate celll'ools in the svstem ot this inv ention increase in number at the same specific rate and are also characterized bv time inv aπant propertv distπbution- w hich is represented bv the ' tvpical-traction attribute ot each ot the cell-phases At some steps during a simulation tlie altemativ e cell-phase compartments that could follow mav exclude each other at the single cell lev el, but not at the cell population level, so that different subsets ot a population mav follow ditterent paths w ith the distribution depending on the strength ot signaling events generated within the simulation itself Therefore, the simulation ot the v alue ot this v anable could le modeled to represent the probabilistic distributions, independently of which subworkspaces are activated first following the mechanistic approach - As shown in FIG 32, If a cellular response results onlv in proliferation, the simulation ot the population cell d y namics involv ing bioPools ot cells m different states, results in cells that keep translocating from bioPool to bioPool, each representing a ditterent one ta.m a discrete number ot states, resulting in cvcles through a closed-loop set ot cell-state bioPools, one of those How ever, if the response results in cellular differentiation it generates branching to a new closed-loop set of cell-state-pools - FIC 32 show s how a cell populations approach bioModel can be build to model the translocation ot cell- between the ma|or states considered, as mechanistically represented bv the defmed subclasses ot cell-phase bv creating and connecting a set ot bioReserv oirs and bioProcesses, as the example detailed in the figure show s Although the cell cycle is a continuous one, it can be compartmentalized into functional cvcle intervals w henev er it is deemed useful to better represent the dynamic simulation ot the svstem The initial state is the resting state, represented bv the cellPool Cell-Xl-Gυ (3201 ), which contains cells ot tvpe XI (or in differentiation stage XI ) in the Go-phase That cellPool may receiv e inputs (3202) trom v aπous sources represented bv bioPaxesses in which cells are added to the resting pool atter hav ing been activ ated or cycling as the result ot a v aπetv ot factors, and its outputs (3203) mav contribute also to a v aπetv ot such bioProces-e- -uch as the one that w ill be here descπbed While at Go-phase, if the cell is activ ated (3204) bv a growth factor (3205), antigen or anv other activ ating stimulus, the cell enters the activated state or Gl l -phase (3206) and added to the correspond g bioPool (3207) From that bioPool (3207), all the cells mav follow one ot the tw o different options, or difterent cells mav follow difterent options tor the next cell-phase depending on the tv pe and strength of the signals receiv ed, either a) following the cell cv cle (3208) it certain grow th tactυr(s) (3209) are sutficiently present, resulting in cells XI in Gl 2-phase pathwav (3210) and added to their correspondmg bioPool (3211 ), or b) following the cell differentiation pathway (3212) it certain differentiation tactor(s) (3213) are sufficiently present, resulting in cells X2 in Gl 1-phase (3214) and added to their corresponding bioPool (321 ), and these cells will now follow a new set ot Each of the cell types will be then running in parallel with their own set ot bioReserv oirs and bioProcesses The same reasoning applies to the rest ot the system, a detailed in the figure, vv hich w ill not le further explain, only to sav that and the end ot the cell cvcle in the cellEngine (3216) that returns cells trom M-phase (3206) to Gl 1-phase (3206), has not onlv a translocation function, but in addition, given that the "stoichiometric-coeff" of cell-Xl -Go is 2 w hile the 'stoichiυmetπc-coett' of cell-Xl-M is 1, it doubles the number ot cells to be added to the cell-Xl-Go-pool - In fast grow g organisms, the dilution factor resulting from cell grow th is represented bv μ vv hile m slow grow ing cells direct enzyme degradation is more important, since the lev ls ot manv enzvmes in animal cells i- controlled bv the balance between enzvme svnthesis and degradation called tumov er The synthesis of an enzvme is a zero-order process vv hile the degradation usuallv has a tirst-order kinetics ( proportional to the concentration ot enzvmes - It i v erv difficult to measure directlv the rates ot change ot ditterent cellular components at the single cell lev el A modelmg tramew ork requires at least data trom measurements about the distributions ot single-cell components in grow ing cell populations and at the hme ot cell div i-ion and birth w hich in some case- can te obtained bv multiparameter flow cytometrv - Grow th rate in terms ot net rate ot protem accumulation in single cells in each phase of the cell cvcle - The grow th rate in terms ot net rate of protein accumulation in single cells in each phase of Ihe cell cvcle can be calculated tor balanced grow th cell-populations, based on the measured distributions ot -ingle-cell protein content in the total cell population Similarly, net rates ot accumulation ot anv specific protein s u ell as anv other compound or property can be calculated w henever the properties and their distnbutiυns can be measured on a single cell basis such as w ith multiparameter flow cv tometrv w ith gating features that permr direct correlation w ith the cell -cvcle phase Kromenaker and Sπenc ( 1 ^1 ) defined balanced growth-cel l populations as those characteπzed bv a) the total cell number increasing exponentially ith time according to a specific constant mean grow th rate, and b) the total cell population and anv ot its sub-populations hav ing a time inv ariant single -cell propertv distπbutions Thev dev eloped equations to represent the dv namics or a giv en protein content range in an indiv idual cell cvcle and after deπv ing restrictions that applv to the rate constant- and substituting those in the oπginal equations, the obtained expressions tor the grow th rates tor each indiv idual cell cvcle The transtomiation ot this mixlel into the graphic language proposed in this mv ention and the incorporation ot those equation- l- an example ot a currentlv preferred embodiment ot thi- mv ention w hicn i- xplained in more detail in Exhibit M l bO - The transition between different time-comoartments may also be made a function of cell size, or its equiv alent -otal-orotein content, both ot which are attributes ot cell-bioModel At the population level, the transfer ot cell-units trom the bioPool of cells in Cl 1 -phase to the bioPool of cells Gl 1 -phase is also based on the v alue ot such attnbutes For example the rate of increase in the number of cells with a protein content greater than a given value p in Cl, which may be established to delimit the Gl 1-phase from the Gl .2-phase compartments equals the rate at which cells with a protein content greater than p enter Gl-phase + the rate at w hich cells within Gl-phase grow into the class ot cells with a protein content greater than p - the rate at w hich cells with a protein content greater than p exit the Gl-phase - Additional sub-phases can be analyzed whenever appropπate landmarks can be observed to define additional transitions To represent a specific form ot cell death, which is highly regulated and known as programmed cell death or apoptosis, a separate time-compartment is defined in this system, which is equivalent to a cell-cv cie phase compartment but with the difference that has a dead end and does lead to a next compartment, but rather eliminates cells that hav e passed through certain specific combination ot events In addition, an additional term representing the rate ot exit from each cell-cycle compartment v ia other types ot cell death may be iπtaxiuced into each ot the population balance equanons - In this system, m general it is assumed that cell division is svmmetmc, and that total protein is conserved at cell div ision The Gl-phase is bounded bv cell birth and initiation ot DNA replication, S-phase is bounded by the initiation and completion of DNA, G2-phase is bounded bv the completion ot DNA synthesis and the initiation ot mitosis, and the M-pha-e is bounded bv the initiation ot mitosis and cell division At balanced growth, each subset ot cells in each cell cy cle phase increase in numbers at the same specific growth rate s the ov erall population The rate ot entry into the Cl phase is twice the rate of exit trom the M phase Additional phase compartments can be added vv henev er other transition landmarks can be measured, as well as the cell distribution at each side ot the transition The following can be used as the equations to mixlel the rates rc:c = k * No / G:.. rci- = k * (No + G: + So) / Cu>, rSc: = k * (No + G_. ) / So where No is the number of cell in the total population at some reference time, and No = Cn> + G: + So at this time - The currently preferred embodiment ot this mv ention deals with different stages of cell differentiation, each representativ e ot a characteristic set ot behaviors, as separate pools of cells All the cells in a pool hav e identical lehav mr and, again, in the sy stem ot this mv ention when one refers to an instance ot a cell ith a particular phenotvpe it dies not mean an individual cell but rather a pool ot equal cells that is characterized bv its behav mr and also by a cell-number and a cell-density We hav e also considered prev iousIv cases w here indiv idual cells grow and differentiate in response to specific signals prov ided when env ironmental factors activate specific receptors that initiate a signal transduction pathway vv ithin the cell Howev er, ditterent cells respond bv following div erse pathwa y s in response to an identical signal, and this specific response depends on the history ot that cell For example, erv throid cells could be allotted to three pools w ith phenotypes naracteπzed bv the presence ot tw o cell differentiation surface markers CD34 (a glycoprotem l and CD71 (the transferπn receptoπ a ) CD34* include most immature erv throid progenitor cells, b) CD71 '°" includes intermediate stages and c) CD34 " CD71 m ? n includes most mature ervthroid progenitors Each ot this populations hav e different predominant form ot the erytropoietin receptor, and respond in ditterent w av s to ervtropoietin CD34~ express a truncated form of the receptor and respond bv proliferation w hile CD34 " CD71"'£ n respond bv differentiation and are protected from apoptosis or programmed cell death ( Nakamura et al Science 257 1138-1141. 1992) In the currentlv preferred embodiment ot this in ntion the particular histυrv ot each cell pool is reflected in the specific bioModels as determined bv the particular paxedures to be follow ed, vv hich are encoded in the corresponding attributes of the bioObiects that are components ot that cell's specific bioModels Nav igation and General Modes: Exploring and Queering the Virtual Models a ) Menus and Panels • The domain-menus associated with the Nav igation Mode and the General Mode the default user mode tor u-er- ith no modeler or dev eloper rights, comprise the headings 'Help &z Mode Menus", "Structure Libraπe- ' Pathw ay Libraries' , prev iousIv discussed, and "Panels' , w hich options include panels ot v arious tv pes used to access tasks that are not mitiated from one single bioReservoir or bioProcess, or their components but w Inch are either application-w ide or including more that one starting points • One ot the panels is the Initialization Panel is used to request the initialization tasks associated w ith each ot the buttons Here e will discuss the methods associated with each ot tho-e buttons An initially rule (Table 97) causes this panel to be automatically displayed vv hen the program is started Selecting the Menu button calls the ba-ιs- menu-head -callback (Table 98) w Inch causes the creation of the specific domain-menu- bv calling other p xedures defmed w ithm the Shell and dependmg on the current v alue ot the user-mixle ot the w indow trom which the reαuest has been made, it passes as argument the name the menu-structures specific tor -hat mode A menu-svstem-template is a facility prov ided by the Shell that allows to build permanent designs ot connected structures or menu-templates of difterent classes, each correspondmg to a difterent menu option, and each containing attributes that hold information about the "label" to be displayed bv such menu option, the name ot the procedure to be invoked, and dependmg on the class of such menu object, it may hold either the name ot the object which subworkspace is is to be displayed, or the name ot a new menu system to be displav ed When an option is selected from the menu, the procedure named its corresponding template is started, which mav take as arguments the values ot some of those other attributes The domain-menus are transient sets ot workspaces and messages that are dynamically created mirroring the ordered design of the named permanent menu-structure • Selecting "References Scroll" displays the the subworkspace ot the References Panel, discussed below Selecting "Structure Queries" creates a clone of Master-General-Structure-Query-Panel and displays its subworkspace discussed in more detail below in relation to FIG 30 Selecting anv ot the "Experiment Setup #" displavs the subworkspace of the corresponding "Expeπment Setup Panel", which are vanouslv modified clones ot the Master-Expenment-Serup-Panel. one ot which will be discussed in more detail under the Simulation Mode heading in relation to FIG 35, since part of the capabilities provided within this type of panels can be used under the General Mode, and all the capabilities can be used in Simulation Mode b) Initialization • Selecting the " Navig Init" button calls the nav ig-init-callback, w hich in turn calls the nav ig-mit-proc (Table 99), w hich results in the activ ation ot the subworkspaces ot all bioProcesses and bioReservoirs (w hich are all deactiv ated when the application is initially started), and then successively calling the follow ing procedures - the br-initialization-proc (Table UK ) ) sets the appropriate v alues ot the "master-bioReserv oir" attribute ot all bioReserv oirs, highlights the flag-color region ot the icon ot those bioReservoirs that hav e "w arnings , sets the appropriate v alues of the "ret-bioprocess" attribute ot all bioPool-posts of all bioReservoirs, and establishes all the appropriate ' a-down-bιoProcess-ot" and "an-up-bioProcess-ot" relations betw een bioProcesses and bioReserv irs. making then those changes permanent (note that relations are transient and cannot be made permanent, and therefore thev are lost when the application is restarted) - the bp-initialization-proc (TablelOl ) changes the color ot the type-color region of the icon ot each buiProcess to equal that ot the bioEngine it contains, sets the appropriate values of the "master-bioprocess" attπbute of each bioProcess, highlights the flag-color region ot the icon ot those bioProcesses that hav e "warnings", sets the appropriate v alues ot the "ret-bioreservoir" attπbute ot all bioRole-posts ot each bioPaxess, establishes "an-upstream-bioReserv oir-ot" and "a-downstream-bioReservoir-ot" relations between certain pairs ot bioReserv oirs that are separated onlv bv one bioProcess, and establishes "an-upstream-biof'rocess-ot" and ' a-downstream-bioProcess-ot" relations between certain pairs ot bioProcesses that are separated onlv by one bioReserv ir - the downstream-chaining-proc (Table 102) completes the downstream chaining process bv extending those relations to distant bioReser oirs and bioProcesses bv establishing the appropriate a-downstream-bioReservoir-ot" relations betw een anv bioReserv oir A and each other bioReserv ir that is positioned downstream ot A in anv pathwav , and establishes all the appropriate "a-dow nstream-bioProcess-ot" relations betw een anv bioProcesses B and each bioProcess that is positioned dovv nstream ot B in anv pathwav - the upstreani-chaining-proc (Table 103) completes the upstream chaining process bv extending those relations to distant bioReservoirs and bioProcesses, by establishing the appropriate "an-upstream-bioReserv oir-ot relations between any bioReserv oir A and each other bioReserv ir that is positioned upstream ot A in anv pathw av, and establishes all the appropriate ' an-upstream-bιoProcess-ot" relations betw een anv bio rocesse- B and each bioProcess that is positioned upstream of B in anv p th av - the biomodel-initialization-proc (Table 104) scans each bioModel tor other contained bioModels bioProces-e- and bioReserv oirs, going down the subworkspace hierarchv , and establishes the follow ing relation- betw een anv combination ot them bm-contained- between a bioModel and a bioModel bp-contained-in betw een a bioProcess and a bioModel and br-contained-in between a bioReserv ir and a bioModel (Table 47) Those relations are important tor all further processing, and are used bv the new lv detined querv paxedures nav igation procedures and simulation procedures described below • A rule (Table 119) monitors the application at run time, and w henev er the user mov es a bioModel the rule starts tlie biomodel-ws-check-pnx, vv Inch checks whether the bioModel has been mov ed to a ditterent w ork-pace in which case it calls the remov e-biomodel-containing-proc (Table 119) to brake the old relations that no longe- applv, and calls thi- biomodel-initialization-proc (Table 104) to e-tabh-h the new relations The upstream and dow nstream relations are also created and broken at run-time bv a set ot rules (Table 7b) and a parallel set tor b 2 bioReservoirs, not shown) that monitor whenev er anv such chaining relation is newly established or broken, and in response to such events thev establish or brake other relations, according to similar criteria, which in tum trigger the same rules tor a chain of other bioReservoirs or bioProcesses The use those rules makes sure that it a modeler or user deletes a bioReservoir or bioProcess that is part ot one such chain of relations, then the cham is broken between the elements of both sides on the breaking point Similar sets ot rules are used tor establishing relations whenev er new connections between bioReserv oirs and bioProcesses are made bv the modeier • The ' Add Query" burton is to be selected only atter the "Navig Init" was been successfully concluded If changes to the database have been made by the modeler since the "Navig lnit" was last concluded, or if the application has been restarted then the "Query Init" button should be selected The common purpose ot both buttons is to organize knowledge about the structure ot all the bioEntities in the application, and to create a set ot structures to hold that knowledge, to be used any time that the user request a predefined query that involves that kind ot knowledge Selecting the "Add Query" button calls the add-query-callback (Table 105), which in turn calls the two procedures that follow Selecting the "Querv Init" button calls the querv- it-callback (Table 106), w hich in rum calls the nav ig-mit-proc (Table 99) and the two procedures that follow - the et-inihalization-proc (Table 107) scans the loaded application tor every copy ot each named complex-bioEntitv, and then assigns a value to the "id" attribute of each such copy that is equal to the name ot such bioEntitv complex-bioEntitv ended by the copy number Copies are numbered consecutiv ely, in the order tound v ith the oπgmal being -0 - the init -query-tables-proc (Table 108) activates the sub orkspace ot the Query-Arrays-Bin and deletes anv old arrav upon it, and also deletes any old list upon the Querv-Lists-B , and then call the following procedures - the tind-bioentitv-detinitions-proc (Table 109) scans the Bioentities-Dets-Bin which contains all the obiect definitions of all the subclasses of the class bioEntitv, and tor each ot those subclasses it calls the creat -querv-arrav-proc (Table 110) w hich creates a query-arrav, sets its ' major-class" attribute equal to the name ot the superior-class ot such subclass, sets its "ret-compoπent-class" attribute equal to the name of such subclass, and sets its "name" attπbute equal to the name of such subclass follow ed by the ending -querv-arrav and transfers such query-arrav to the Query-Arrays-Bin at a location specific tor each superior-class, - the create-query-lists-proc (Table 111) creates a query-list to correspond to each query-array in the Querv-Arravs-Bin, and transfers the list to the correspondmg location upon tlie Query-Lists-Bin, sets its "ret-arrav" attribute equal to the name of such array, and sets its ' ret-component-class" attπbute equal to the "ret-component -class" attribute ot such array, + then, for each ot those lists and tor each bioEntitv ot the subclass named bv the "ref -component-class' of such list, it calls the hnd-named-bioentities-with-component-proc (Tablel l2) which in turn, if such bioEntitv has a name it directly calls for such bioEntitv the procedure that follow s, otherwise it calls first the tind-named-bioentity-pax (Table 113) to scan the hierarchv ot bioEntities superior to such bioEntitv, until one is tound with a name, in which case, it now calls tor the named bioEntitv the procedure that follows - the seek-bioentitv-copies-proc (Table 114), inserts the argument bioEntitv in such list, and then scans the application tor anv copv ot such bioEntity , and if anv is tound then it loops back tor such bioEntitv bv calling the find-named-bioentities-with-component-proc (Table 112) mentioned abov e vv Inch vv ill repeat the cv cle back to this pnxedure, as described, until the vaπous loops tor each bioEntitv ot everv list are completed - When this paicess is completed, the list for each bioEntitv subclass contains, w ith no duplicated elements all the named bioEntities that contain one such bioEntitv either directlv or bv reference To giv e an example that means that it a named protein mstance-A contains a protem-motif instance-B, then ev erv named protein complex-instance-C that contains an unnamed copy ot instance-A (which does not itself contain a copv ot mstance-B, but rather points to its master-bioEntity, instance-A, w hich contains instance-B) w ill also be included in the list ot all bioEntities that contain a pa tein-motit After all such lists are completed it calls the follow ing procedures - the complete-query-table-pax (Table 115) simply transfer the v alues of the elements trom each of those lists to their correspondmg arravs, by fist setting the length of the arrav to match the the length ot the list and then setting the text ot the inihal-v alues attπbute ot each arrav to equal a text string that mentions all elements ot the list separated bv commas, as illustrated in the example listed m Table 116 w hich show s a pair of corresponding instances ot a query-list and a querv-arrav ot the subclass sup-et-arrav, w hich list named instances ot bioEntities that contain an a-helix-motif w hich in this small demo application consists onlv ot a tew master-structures trom tlie librarv In the table ot attributes listed the initial-v alues attπbutes is displav ed and the list ot elements ot either the list or the arrav can be displaved bv selecting the describe option ot their menus - the create-auxiliarv-querv-arravs-proc (Table 117) adds a tew emptv arravs corresponding to the no-selection options ot each querv panel w hich are simpiv programming aid- b3 • ana to conclude it deactivates and activates again the subworkspace ot the Querv-Arravs-Bin tor the purpose >r initializing the querv-arrays upon activation, which means that the elements ot the arrav take the values gi n bv the set initial values • The ' Icons Init" button calls the lnit-icons-callback (Table 118) hich function is not essential tor the functioning ot this system, but which provides a verv useful cosmetic function, by realigning the tracers in the subworkspaces ot bioReservoirs and bioPaxesses and making their connections invisible Selection ot this button is not necessary ev ery time the application is started, and it can be selected anv time thereafter, w hen problems are detected, in anv mode other than Simulation Mode (where those subworkspaces mav be deactivated) The same effect is achieved tor individual bioReserv oirs or bioProcesses by slightly mov ing and repositioning their bioPool or bioEngme, respectively, which triggers their respective icon-movement rules, as defined in Table 79, which also applv to repositioning the bioRole-posts anv time a bioReactant or bioProduct is mov ed • Selecting the "Init All" button calls all-init -callback (Table 118b), hich in turn calls the all the initialization procedures mentioned abov e, and selecting the "Hide" button calls the hide-workspac -callback, winch hides this Panei c) Navigation • In this inv ention, nav igation refer to the domain-specific tasks ot displa y ing and hidmg either related bioObiect- or their subw orkspaces The concept ot related object include v aπous types ot assixiations, including some that are permanently stored in the knowledge base, as detined by either graphic or distant connections, or containment in subworkspaces at anv level in the hierarchv, and some that are transient such as relations. w hich are established and mav be broken at run-time (note that in the system of tins inv ention it is also possible to store run-time v ersions or snap-shots of the application w Inch al-o include transient obiects, such a- relations) Nav igation tasks may may be performed in anv mode but Navigation Mode has that name because the behav mr ot certain ob|ect classes, including the classes bioReserv oir. bioProcess, and complex-bioEntitv, is restricted to do just that This means that a nav igation task is automatically performed upon clicking on the mstances ot any such classes, instead of displaying a menu with v aπous other options as well, and therefore all those other tasks ottered by the other options are not available in this mode Therefore, a user in Modeler or General Mode mav want to quickly switch to Navigation Mode w hen intending to do |ust that, because it is much taster, tor example w hen exploπng and navigating through the pathwav s and then sw itch back to the other mode to perform other tasks Nav igation tasks are usually simplified, in the follow mg discussion and elsew here in this filing, bv expressions like ' selection ot A starts proc-B which displays C", but in reality these processes do more than that in this mvention selection ot A invokes pax-B which takes as arguments A (the item ) and the current indow and causes C to be either displayed or hidden on the current w indow depending on the v alue ot the "toggle-state" attribute of A, and in addition, the icon appearance ot A is configured switching between its pressed or depressed configuration, respectiv elv, and the v alue ot the ' toggle-state attribute ot A is alternated betw een on and off In such cases. A ma v be either a button or anv ot the bioObiects that has a subw orkspace w hich in this regard behav e similaπv • FIG 30 vv ill be described to summarize some ot those nav igation tasks w hen in Nav igation Mode w hile al-o referring to the detin tions ot the methods in olv d listed m the Appendix Note that anv nav igation task that i- directlv performed in this mode, may be performed in anv other mode as vv ell, but depending on the prev IOU-IV detined class re-mctiυns tor each mode, they mav hav e to be -elected from the menu instead requiring tw o step- rather than one Selecting anv bioPaxess in Nav igation Mode implies selecting its details" option w Inch starts the details-bp-prnc (Table 120) w hich displays its subworkspace in the same vvav that selecting anv bioReserv oir implies selecting its "details" option which starts the details-br-proc (Table 121 ) resulting in the subw orkspace ot the bioReserv oir being displayed or hidden, dependmg on w hether the v alue ot the toggle-state ' ot the bioReserv oir is hide or show , respectiv elv With both procedures the icons ot the tracer- on the corresponding subworkspace are restored to their default relativ e positions before such subw orkspace is displaved • Note that vv hen selecting the details option ot anv bioProcess that has a master-bioprocess but has no subw orkspace, conditions vv Inch when combined are characteristic ot a copv bioProcess used in the creation ot Pathw ays, causes such first procedure to call the bp-master-details-proc ( Table 120) w hich in this ca-e α ispiav s or hides the subworkspace ot the original (master) bioProcess, m addition to configuring the icons ot both the oπgmal and the copv bioProcess to their pressed or depressed appearance, respectiv elv In a similar vv v w hen selecting the details option ot any bioReserv oir that has a master-bioReserv ir but has no subw orkspace characteristic ot a copv bioReser ir causes the first procedure to call the br-master-details-proc (Table 121 1 w hich in this case displav or hide- the sub orkspace ot the original bioReser oir in addition to configuring the icons ot both the original and the copv bioReserv oirs to their pr d or depressed appearance respectiv elv - 4 • BioEngines do not have subworkspaces by default, by the modeler can create one, as descπbed, to store tabular -unctions. In such cases, a "show-sw" option is available, and selecting such bioEngines in Navigation Mode implies "show-sw", which starts the show-bioengine-sw-proc which displays or hides its subworkspace (not shown) and toggles the configuration ot its icon. • The behavior ot complex-bioEntities in Navigation Mode is similar, as shown in FIG 18, where selecting any bioEntity (1808, 1813, 1815, 1817, 1819, or 1821) implies selecting the "details" option which starts the et-details-proc (Table 122) which displays or hides its subworkspace (1809, 1810, 1816, 1818, 1820, or 1 22, respectively) and toggles the configuration of its icon The combination of this option with the go-to-sup-obj-button (1825) upon each subworkspace allows to navigate up and down their workspace hierarchies • Selecting any bioProduct-post (711 ) or any bioReactant-post (703), in General, Navigation, or Simulation Modes, implies selecting its "show-br" option which starts the rolepost-show-br-proc (Table 123) which displays the subworkspace (714 or 705) of the bioReservoir named by their "ref-bioreservoir" attribute. Similarly, selecting any bioPool-r-post (704) or any bioPool-p-post (712) implies selecting its "show-bp" option which starts the poolpost-show-bp-proc (Table 124) which displays the subworkspace (402) of the bioProcess named by its "ref-bioprocess" attπbute This option is only available in the menu when the bioPool-post has a name Selecting the go-to-sup-ob|-button (with triangle) on the subworkspaces of each bioObject displays its superior object, while selecting the hide-sup-ws-button (with cross) hides its workspace The combination ot those capabilities allow to follow all the distant connections through the pathways of bioReservoirs and bioProcesses, and also up and down in their workspace hierarchies • Selecting any model-box (511, 516, or 517) in General, Navigation, and Simulation Modes, implies selecting it- "show-sw" option, available only it the model-box, which starts the show-model-box-sw-proc which displays or hides its subworkspace and toggles the configuration of its icon This option is used to access the model-block upon that subworkspace • Other important navigation task pertormed through the menu in any mode, mclude the "bioentity" option (Table 125) appears in the menus ot bioReservoirs, bioReactants and bioProducts only when the "ref- bioentity" attribute ot the bioReservoir has a value difterent from the default value ot none, and upon selection of this option by the user, or hides, depending on whether the initial value of the toggle-state attπbute ot the bioReservoir is hide or show, respectively, the subworkspace ot the bioEntity named by said ref-bioenhty attribute. Note that the "ref-bioentity" attribute is defmed only tor the class bioReservoir, for storage economy, and the menu options ot bioReactants and bioProducts refer to that attπbute when connected However, thi- attnbute can be defined for those other classes as well, allowing access to a bioEntity independently ot a bioReservoir. d) Structure Related Queries • There are two maior gaiups of Queries a General-Query is based only on structure and is application ide, while a BR-Query is in reference to the bioReservoir trom which it was initiated, to be descπbed below m more detail The Query Panels are built hierarchically, with each radio-button trom the first Selection Panel leading to another more specific Query Panel, where now the user can compose a selection and then initiate the Querv Note that the word Panel is frequently used m a more general sense to refer to the subworkspace ot an instance of the class query-panel • A General-Query may be requested by selecting from the "Panels" menu head the "Structure Queries" option which calls the create-general-structure-selection-panel-callback (Table 127), which in tum clones the Master-General-Structure-Query-Panel, stores it in the Temporary-Panel-Bin, configures its radio-box with the aid ot the set-radio-box-id-proc (Table 128) and displays its subworkspace The user mav now use such Panel to select any radio-button trom its radio-box, which calls the select-general-structure-selection-panel-callback (Table 129) with such button as one of its arguments, which in turn a) gets the value of the radio-button selected, and depending on the value of the "on-value" attπbute of such button, clones the corresponding master-panel, then calls the create-general-query-panel-pax (Table 130) with such v alue and the new panel among its arguments, which in tum completes such panel by scanning the panel for the presence of speciticallv labeled radio-boxes (related sets of radio-buttons) and configuring the radio-boxes with the set-raαιo-box-ιd-proc (Table 128"), and b) displays the subworkspace of the new panel • The user may now use that Query Panel to select any combination of one radio-button per radio-box and then selecting the "Query" button calls the query-general-structure-callback (Table 131 ), which in turn calls tirst the querv-general-structure-pax (Table 132), hich scans such panel tor the presence ot specifically labeled radio-boxes and then calls tind-specific-array-pax (Table 133), vv ith such label as one ot its arguments to find the v alue ot the selected radio-button and the matching arrav withm the Querv -Arra vs-Bin (those arrays are created during the Query Initialization process, as descπbed in the Initialization section above) An auxiliary scroll-text-list is created and, if only one radio-box is present the Query Panel, then the elements ot the corresponding array are transferred to such list It two radio-boxes are present m the Query Panel, then tw o such arrays should be found, in which case the merge-two-structure-lists-proc (Table 134) is called, which scans those arrays to find the common elements, which are transferred to such scroll-text-list. An specific text-str g is developed to include references to the selected options and to the outcome of the search, which is then giv en as a value to a free-text structure which is displayed as a heading for the results of the search The callback calls then the create-general-query-output-panel-proc (Table 135) with such scroll-text-list and free-text among its arguments, which creates an output panel bv clonmg the Master-Molecular-Query-Output-Panel, then creates a scroll-area to display the elements of such scroll-text-list, and transfers to the subworkspace of such output panel both the free-text and the scroll-area listing the results of the search, which is them displayed. The user can now use such scroll-area to interactiv elv display or hide the structure ot any number of bioEntities named bv the options listed, as descπbed below e) Pathway Related Queries • FIG.30 illustrates an example of one ot the several types ot predefined Pathway Related Queries that the user can perform by just selecting the desired buttons trom the options offered m the panels. All the searches generated trom this type of panels include bioReservoirs located anyΛvhere within the pathways that are either upstream or downstream, depending on the selection, ot such initial bioReservoir, and also the bioEntitie- referred to by any ot those bioReservoirs. Those upstream or downstream queπes can be further restricted bv the type ot roles that those bioReservoirs play in different bioProcesses, as defined by the ma|or classes ot bioReactants to which their bioPools are distantly connected, which is referred here as function-related search In complex queries of mixed type, such bioEntities can be further restπcted to those containing any particular component, similar to the Structure Related Queπes descπbed above In such cases, the methods pertinent to the pathway search are applied first to generate the pathway-related set, followed by the function search, which is applied only to the pathway-related set and generates the function-related set, and finally the structure search which is applied only to the function-related set, or to the pathway -related set if no function search has teen selected, and generates the structure-related set. Tlie structure search applies only to the bioEntities tor the purpose ot displaying the results, in the sense that all bioReservoirs that meet the selected pathway, and optionally function, requirements are listed in the scroll-area listing the bioReservoirs, regardless ot whether they meet any ot the bioEntity related cπteπa This implementation is currently preferred because the "ret-bioentity" ot a bioReservoir is an optional attribute, and it is expected that many ot the bioReservoirs will not have a corresponding defmed bioEntity This alternative provides a more complete search in terms ot relative position and function of bioReservoirs, without being influenced by tlie implementation ot an option • These types ot Query mav be requested in two different ways a) from a bioReservoir (3001) by selecting from its menu (3002) the "query panels" option (3003), or b) trom the subworkspace a bioReservoir by selecting the query-tracer (1325) connected to the bioPool A query-tracer is a subclass ot list-tracer (Table 30) w hich -election implies selecting the tracer ' s "show ' option Each ot those options starts the create-br-related-selection-panel-callback (Table 138), w hich creates a clone of Master-BR-Molecular-Query-Panel, configures it, and displays its subworkspace (3004), the Pathway Querv Selection Panel Configuring this panel and anv other panel that follows dunng the processing ot br-related queries alwavs includes to set the v alue of the "related -item" attribute of the panel equal to the name ot the bioReservoir trom which the query was mitiated, and this name is passed along when a new panel is originated trom such panel. That is, any callback mvoked faim a button ot a panel, takes the name of the bioReserv oir from the "related-item" of the panel upon which subworkspace it is located, and passes that name as an argument w hen calling other paxedures • The user mav now use that Pathway Query Selection Panel to select any radio-button (3005) trom its radio-box which calls the select-br-related-query-panel-callback (Table 139) with such button as one ot its argument- w hich in tum a) gets the value ot the radio-button selected, and depending on the value ot the ' on-v alue attribute ot such button, clones the corresponding master-panel, then calls the set-br-related -query-panel-proc (Table 140) with such value and the new panel among its arguments, w hich in turn configures and completes such panel with the set-radio-box-id-proc (Table 128), and displays the subworkspace (3006) ot the new panel a Pathvvav Querv Panel This panel is composed ot a) the title (3022) which specifies the type ot search being made trom that panel and names the bioReservoir (3023) that is the point of reference tor the search, b) the set ot radio-buttons (3024) of the radio-box labeled "direction", defining the two possible alternativ s, c) the set or radio-buttons (3025) ot the radio-box labeled "function", which defines the possible alternatives av ailable tor function w hich in this case w e onlv show a -mall but important sur>-et that is ot high relevance to scienti-t- d ι the set ot radio-buttons ( 3026) ot the radio-box labeled " motifs ' w hich defines the possible alternative- available for subclasses ot Drotein-mohf Manv other possible sets of radio-buttons, such as those of the -aαio-box labeled "location", which defines the possible alternatives available for subceilular compartments, are not snown • The user may now use that Pathway Query Panel to select any combination ot one radio-button per radio-box Selecting the "Upstream" option (3007) calls the upstream-query-hsts-callback which in turn calls the upstream-tunchon -query-lists-proc Selecting the "Downstream " option calls the downstream-query-lists -callback (Table 141 ) and then the downstream-function -query-lists-proc (Table 142), which do the following a) it first calls repeatedly the create-br -query-hst-proc (Table 143) to create a set ot two lists per each prede lned type of function, one to contain names of bioReservoirs and the other the names ot bioEntities, b) then, it loops over all bioReservoirs that are upstream (or downstream) and scans tor their connections to certain classes of bioReactants, which define their function, and enters their name in the correspondmg one of those bioReservoirs lists, tor example, if the bioPool ot a bioReservoir is connected to both a kinase r and a transcπphon-factor.r, then the name of such bioReservoir will be added to each of the two corresponding lists, so that a bioReservoir may be named more than one function list, but is not duplicated within one single list, and c) for each pair of one of those bioReservoirs lists and its corresponding bioEntities list, it calls the fill-br et-list- proc (Table 144) which scans all the bioReservoirs in the fist list tor the v alue ot their "ref-bioentity" attribute, which if available is added to the second list All those lists, to be used by the procedures described below, are associated by a relation to the panel from which thev are created, are v alid only tor the bioReservoir givi g the related-item of that panel, and are deleted when the panel is deleted • The user can now select anv combination of one radio-button per radio-box, such as receptors (3008) and Is- strand-motif (3009), and then select the "Query" button (3010) to complete the processing and displav the results of the querv The processing trom the "direction" button is mdependent and previous to the processing trom the "Query" button, and if the user selects the "Query" button before the "direction" button, then processing cannot ocurre, because the lists do not exist, and an error message is displayed to the user to that effect Selecting the "Query" button calls the query-br-related -callback (Table 145), which first obtains the v alues of the selected radio-buttons ot the "direction" (3024) and "function" (3025) radio-boxes, and then calls the get-br-function-list-proc (Table 146) with those values among its arguments, which uses those v alues to obtain and return the corresponding set of two lists from the bioReservoirs lists and bioEntities lists created and filled the previous processing, as discussed above Such bioReservoirs list is go g to be used to directly pass its values to the bioReservoirs scroll-area tor final display, while such bioEntities list is going to be used as the basis for the complex further processing that follows • The callback scans now the Panel to find whether there are structure related radio-boxes, such as the "domains" radio-box in this example, in which case it calls the query-br-structure-lists-proc (Table 147) with those previous v alues and the bioEntities list among its arguments, which does a complex processing as followmg a) it finds the label of such structure related radιo-box(es) and calls hnd-spec fic-arrav-pax (Table 133) to find the v alue ot the selected radio-button tor such box(es), such as Is-strand-motif (3309), and its matching array(s) in the Query-Arravs-Bin (as described above in the Structure Related Queries section), b) it there is onlv one structure related radio-box, like in FIG 30, then it calls merge-br-function -structure-proc (Table 148), or if there are two structure related radio- boxes it calls merge-br-tunction-structure-structure-proc (Table 149), passing among its arguments the values ot all selected radio-buttons, as well as the corresponding bioEntities list filled earlier, and the array(s) now tound These procedures create a new list, the bioEntities scroll-text-list, and then, taking mto consideration the type and v alue of the arguments a) they select a text specific for each situation, to be displayed as a title tor the results, b) they call the br-till-etl-list-pnx (Table 150) or the the br-fill-double-etl-list-proc (Table 151 ), which enter the common elements ot both the bioEntities list and the array(s) in the scroll-text-list, and c) they return the text and the scroll-text-list to the prev ious procedure from which thev where mvoked. vv hich in tum returns them to the callback • The callback passes such text to a tree-text structure, and finally calls the create-double-query-output-panel-proc (Table 152) with the bioReservoirs list mentioned in paragraph t) the bioEntities scroll-text-list, and their two corresponding tree-texts among its arguments, which creates an output panel bv cloning the Master-Molecular-Query-Output-Panel and stores it in the Temporarv-Panel-Bin then transfers the two tree-texts to it, creates two scroll-areas to display the elements of each ot those lists in a scrollable and interactive format, and calls the complete-br-panel-proc and complete-br-panel-proc (Table 152) which configure those scroll-areas and transfers them to the subworkspace, which is them displav ed (3011 _ • Tlie user can now use the Pathwav Query Output Panel (3011 ) so created to scroll through the lists bioReservoirs and bioEntities that are the output of the query Selecting and unselecting any option ot such scroll-areas allow s to interactiv elv displav or hide subw orkspace ot the named structure bv calling the querv-message-selection-proc or the query-message-unselection-proc (Table 136) Each ot the titles (301 » are b7 airectlv related to the scroll-area below them and varv with the results ot each part ot the search, and thev mav iπiit naming those groups ot buttons here not selection was made or indicate that some search or part ot the search w as e ptv The scroll-area (3(113) on the top shows the bioReserv oirs that meet the direction and function requirements w hich are those named bv the options listed and selecting anv of its options (3014) displavs the subworkspace (3015) ot the named bioReservoir The scroll-area (3017) on the bottom show s the bioEntities that meet the combination ot direction function and structure requirements, as selected which are those named bv the options listed and selecting anv option (3018) displavs the subw orkspace (3019) ot the named bioEntitv Those structures displaved can be used to nav igate in anv way prev iousIv descπbed mcludmg up and down the pathways from bioReserv oirs (301 ) to bioProcesses (3016) and so on, trom bioReservoirs or bioReactants or bioProducts to their bioEntities as show n in FIG 30 or up and down the w orkspace hierarchies (3020 3021) bv combining the v aπetv of tools and methods prev iously described A- betυre all the Pathw av Querv Selection Panels, Pathvv av Querv Panels and Path a v Querv Output Panels are dynamically created and transient and w hen the search is completed thev are no longer needed and thev are deleted as well as their asscxiated lists, bv selecting the "Delete button (3309), which calls the delete-querv-panel-callbacK • More complex queπes can be pertormed with an additional Master-BR-M lecular-Querv-Panel w ith tour additional options to include queπes prev iousIv described in combination with an additional constraint criteria the location ot the bioReserv oirs selected by the prev ious criteria within the different cell compartments Selection ot anv of those new options displavs the correspondmg Querv Panel and in tins new s t ot Panels the Dow nstream and ' Upstream radio buttons are associated instead with the dow nstream-tunction-lυcation-callback (Table 153) and upstream-tunction-location-callback respectiv elv w hich call the downstream-location-querv-lists-proc (Table 154) r its upstream equiv alent Those procedures in turn call some ot the paxedures prev iousIv described and also call the tind-compartment-proc ( Table 15- ) The user mav additionally select anv combination ot one radio-button each from the radio-boxes ottered in each particular panel and then selecting the ' Querv button now calls the querv-br-related-location-callback (Table 15t>) w hich in turn depending on the boxes av ailable on the particular Panel calls one ot an altemativ e set of procedures w hich in tum call other procedures as specified The reader is further referred to the listing- in Tables 1 7 thaiugh 169 t r the details ot such complex processing that is difficult to describe and which uses a similar approach and methods as those prev ious descπbed to create a new set ot lists and to merge lists w th bioReserv oirs meeting the difterent criteria • The underlaving shell loads the desired application modules on memorv tor run time operations but it is able to merge and remov e modules vv hile the svstem is running Since the mference engine s reasoning and search space is limited to those modules that are loaded, it is necessary to create a mechanism to allow tor searches in modules that are not vet loaded on memory Tins is accomplished bv maintaining the repositorv module an object called the querv-arravs-bm w hich holds in its subw orkspace a set ot item-arravs tor intelligent dv namic merging and remov l ot the modules required at particular times particularly w hen searching thaiugh the bioEntitv -module and In order to allow tor searches in a modulaπzed application Those contained-in-moduie arrav s are built follow ing similar methods as those described here ror bioModels The difference i- that a new s t ot relation is detined ot the series -contaιned-ιn-mυdule and an initialization procedure that loops ov er all the w orkspaces ot each loaded module tindmg out the v alue ot their a-signed-module and then looping o er all the bioModel Libraries upon each w ork-pace and ov er all the bioModel- upon each bioModel Librarv ana the continuing w ith the methods described in the prev ious section r) Interactive Lists and Pathways • In addition to the v aπous querv methods prev iousIv de-cπbed thi- inv ntion prov ides sev ral other tixils an_ methods to enable the user to extract the knovv ledge build entered into the system bv the modeler in addition tι the new know ledge created bv appiv ing the methods of this inv ention to analv ze and integrate the know ledge prov ided bv the modeler • One ot those capabilities i prov ided bv means ot the li-t copie- menu option (62 5 ) detined tor the cla-- lomplex-bioEntitv w hich upon selection calls the et-list-copies callback (Table 1 01 w hich creates a -croll-text-h-t and then call- the list-local-bioentities-copies-proc iTable 171 ) w hich in turn scans all the bioEntities ot the same major subclass as the one bioEntitv taim w hich the request originated to rind ir the master-bioentitv ot anv ot then matches the name ot such bioEntitv in w hich case the v alue ot the id attπbute ot each of those copies is added to the list It there is anv element in that list then the callback creates an Output Panel bv cloning the Master-Local-Bioentitv -Copv-I'anel create- a specific title and a scroll-area w Inch a re then added to the Panel and configured and tinallv the Panel is displav d This Panel looks like the Querv Output Panel (3011 ) discus-ed abov e w ith a ditterent title Selecting and un-electing anv option ot -uch -croll-area call et-copιes message-selection proc or the et-copies message-unselection-proc ( Table 1 2) w hicn b8 interactively display or hide the subworkspace of the structures referred to by their "id", rather than by name This also provides an example of how, in general, instances of bioEntities A well as bioReservoirs, bioProcesses and bioModels, or any other structure, can be referred to by the value of any attπbute, rather than by their names, which have to be unique and sometimes inconvenient, but they can be avoided. Referπng to attributes, defined for such or any other purpose, also allows to refer to groups of instances within a class, without having to refer to each individual member of the group. • Another novel teach g of this invention is the capability of creating lists of downstream and upstream bioReservoirs and bioProcesses. By selecting the icon of any of those lists, the user can display on a workspace the elements of that list, which are pointers to all the bioReservoirs or bioProcesses that meet the criteria set for each specific list, and each pointer further allows to either display the table of attributes of such object, or displays the object itself upon its workspace, as descπbed in more detail later (FIC.34). Navigation can be now- initiated from those objects as well as any other tasks described in this invention. This capability is accessible through the "show lists" options trom the menus of bioReservoirs (3023) and bioProcesses (3103), which appear in the menus only when they are named and their subworkspaces are activated, as well as trom the list-tracers in their subworkspaces, as described beiow . • As illustrated in FIGs. 30 and 31, chaining-tracers (Table 30) are iconic programmed objects connected (3030) to a bioPool, or to a bioEngine (3105), where they are used to control the dynamic creation and display at run-hme of a set of such lists of either bioReservoirs or bioProcesses that are either upstream or downstream of the bioReservoir upon which subworkspace such list-tracer is located. The "show" option (Table 31 ) is defmed tor the class list-tracer and is inhented by all its subclasses, including BR-chaining-tracer and BP-chaining-tracer Selecting any such list-tracer by the user implies "show", which starts the list- tracer-handler-proc (Table 31 ), which configures the buttons and depending on the subclass ot list-tracer, calls either the BR-chaining-proc (Table 1 3, also started upon selection ot the "show lists" option of the bioReservoir), or the BP-chaining-proc (Table 174, also started upon selection of the "show lists" option of the bioProcess). The ma|or actions pertormed by both of these procedures comprise: a) if the list-tracer already has a subworkspace, then it is displayed with its contents, otherwise a subworkspace for the BR-chaining-tracer or BP-chaining-tracer, respectively, is created by cloning the subworkspace of the prebuilt master structures BR-Chaining-Lists or BP-Chaιnιng-Lιsts, respectively, which in both cases contain two sets of four predefined lists each, one set (3107) is meant to be used in any user mode, while the second set (3108) is to be used in simulation mode and contain elements from the first set that have been activated as a result of their inclusion in a simulation model (to be described below), and then such lists are displayed; and b) those lists are populated having as point of reference the bioReservoir or bioProcess trom which they were requested, by using tor each list ot the set the followmg cπtena: the elements of DBPL and SDBPL are downstream bioProcesses, the elements i L'BPL and SUBPL are upstream bioProcesses, the elements of DBRL and SDBRL are downstream bioReservoirs, and the elements of UBRL and UDBRL are upstream bioReservoirs • A further novel teaching ot this invention is the capability to dynamically generate displays ot interactive pathways, where these pathways compπse a chain ot downstream, or upstream, bioReservoirs or bioProcesses or both, orderly arranged a graphic format with connections drawn between them to indicate those that are adjacent By visually following those connections, the user can follow the pathways that indicate a dependency relationship between those bioReservoirs or bioProcesses or both The capability to display interactive downstream pathways is accessible from several different types of structures a) from an individual bioPaxess, in which case such bioProcess is the point ot reference, b) trom a Simulation Panel (to be discussed in conjunction with FIG.33), in which case a bioReservoir is the point of reference, and c) from an Experiment Panel (to be discussed in conjunction with F1G.35), in which case one or more bioReservoirs are the points of reference. • As illustrated in FIC.31 , now we will refer to accessing such capability from an individual bioProcess, or from icons m its subworkspace that have such specific functions, to display either upstream or downstream pathways, and in either case the bioPaxess is the point ot reference Up-path-tracer and dow n-path-tracer are iconic objects (Table 28) located upon the subworkspace of a bioPaxess (3110 and 3117), where thev are used to control the dynamic creation at run-time ot a graphic display ot such interactive upstream or downstream pathway, respectively, from the bioPaxess from which it was requested. The "show" option starts the path-tracer-handler-pnx (Table 29), which depending on the subclass of path-tracer calls either the draw-up-pathway-proc (Table 175, also started from the "up pathway" option (3109 from the bioProcess) or the draw-down-pathway-proc (similar to the one above but downwards, also started trom the "down pathway " option (3116) of the bioProcess The major actions pertormed by each of these paxedures comprise a i it creates a subworkspace here called a Upstream Pathway Display tor the up-path-tracer (3110) bv cloning the subworkspace ot Master-Up-I 'athway, which contains a set ot prebuilt auxiliary structures The text or he title (3111) is changed to refer to such bioProcess The x-pos and v-pos (3112) are two teger-para meters Table 3) used to keep track of the most distant bioProcess added to the Displav and w hich I) are used bv the program to compute the position of the next bioProcess to be added after w hich their v alues are updated, n ) are used bv the program to be compared to defined threshold values that w hen reached as the displav dvnamicallv grows trigger a reduction in the size of the display, and in) may be used also bv the user to read the size ot the Displav which mav in occasion get v erv large, bv observing their value as displaved in digital form The set ot resize buttons (3113) allow the user to resize the Display at will offering the options ot full three-quarter halt, and one-quarter scale b) it creates a copy ot such bioProcess, bv clonmg it and deleting its workspace, and then transfers the copv to the Pathwav Display at a specified position (3114) and displavs the Pathvvav Displav on the window trom c) it calls the create-local-up-bp-proc (Table 176) with such original bioProcess and its copv among its arguments, which in tum tor each bioReser oir that is an-up-bioReserv oir-ot the original bioProcess finds each up bioProcess that is an-up-bioProcess-ot such bioReservoir and then tor each such up bioProcess 1) if a copv ot such up bioProcess already exists upon the Displav then it proceeds to IV , otherw ise it creates a copv ot such up (or dow n) bioPaxess, bv cloning it and deleting its workspace, n) it computes a new v alue tor x-pos and v-pos, in) it transfers the copy to the Pathwav Display at the new specified position (3615) iv ) it creates a connection between random locations at the icon ot such new (or existing) copy and the icon of the copv that is an argument ot this mv ocation ot the procedure, and v ) it calls itself (Table 176), but now with such up bioPaxess and its copy among its arguments Each of these procedures keeps looping and calling itself until all upstream bioProcesses hav e been processed, and their copies added to the Displav and connected The an-up-bioReserv oir-of and a-down-bioProcess-ot, as well as the a-down-bioReserv oir-ot and an-up-bιoPrιxess-of, are inv erse relations, as prev iousIv detined (Table 75), vv hich w ere established during initialization (Table 100) betw een appropriate pairs ot a bioReserv oir and a bioProcess each A similar set ot procedures is used to displav the downstream pathways from the down-path-tracer • FIG 31 illustrates short examples ot Upstream Pathw av Displav (3110) and Downstream Pathwav Displav (3118) The connections are directional, w ith the directions of the connections abov e the bioProcesses indicating the direction ot material flows, that is from the one that is upstream to the one that is downstream in relation to each other The directions ot the connections below the bioProcesses alw av _ show the right to left direction as a result ot the next copv being one that alreadv existed in the displav such as those connectioπ- that re ert to 3119 trom other posterior copies Those pathw ays are interactiv and selecting the details option (Table 120) ot anv of the icons or changing to Nav igation Mode and selecting the icons (3119 3121) displavs the subworkspaces (3120, 3122) of the onginals of those copies which allow further access to anv ot the nav igation (3123) and all other capabilities associated vv ith their iconic components as described throughout the descπphon ot tin- mv ention and allow ing further access to pos-iblv distant part- ot the application • Pathw av s vv ith onlv bioReserv oirs (not show n), or pathw avs v ith alternating bioReserv oirs and bιoProce--e- (not show n) can le created w ith similar methods using onlv minor modifications In this inv ention the pathw ays w ith bioProcesses are preferred because the prov ide the most information about the interactions ithin the space constrains w hile the connected bioReserv oirs can be accessed bv |ust clicking on tw o icons Mixed pathw av s mav become v erv large g) Navigation Panel • An intertace and methods are prov ided to constraint all the capabilities prov ided in regard to nav igation and displav ot pathways, to limit the scope of the search to an space selected by the user based on the different lev els ot compartmentalization This feature can be accessed through a) a Nav igation Panel w hich can be requested from each bioReser oir and is dynamically created v ith the bioReserv oir as the reference point or bi an Experiment Panel The Nav igation Panel is to be used in General Mode and is not av ailable in Simulation Mode since the methods do not activ ate the subw orkspaces ot the selected structures as do those associated ith the Simulation Mode, described below • As show n in FIG 32, selecting the nav ig-panel option (3203) from a bioReserv ir (3201 ) calls the create-direction-panel-callback (Table 177) w hich displays a Selection Panel (3204) Selecting now the Upstream radio button calls the select-direction-callback (Table 178) w hich in this case further calls the create-upstream-nav ig-panel-callback (similar to Table 179), w hich calls the nav ιg-create-upstream-lists-proc (similar to Table 180) vv hich creates tw o lists w ith all ot its upstream bioReserv oirs and bιoProces-e- and the complete-nav ig-panel-callback (Table 186) w hich creates a Nav igation Panel (3205) containing a scroll-area ( 1202) already configured to list all the possible lev els f bioModel- the compartments ithin the \ irtual Model in vv hich such bioReserv oir or all ot its upstream bioProcesses are contained The user now has to -elect the desired scope ot the search space bv selecting one ot those bioModels By selecting tor example in this -ase the cvtosol of the Go phase of a fibroblast (3202) and then selecting the LIST button (3207) calls the list-nav igation-UBP -callback (similar to Table 181 ), hich creates new lists and calls the navig-read-up -scroll-proc (similar to Table 182) to populate the new lists, displayed on the Panel (3208), w ith the members of the previous upstream lists that are contained in such bioModel (and all its encapsulated compartments) Those lists display the number ot elements it contains, alerting the user about the potential size of the resulting pathwav, and if too large or too small the operation can be reset and a difterent bioModel, lower or higher in the hierarchv, can be selected Selecting any of those lists (3208) displays (3209) its members and selecting anv of those members (3202) allows direct access to the named bioObject (3210) on its original bioModel (3211 ), and displaying its details (3212) allows to further interactively navigate through the upstream or downstream path av s ot such particular bioObjec. • The user can now select the PATHWAY button (3213), which calls the n3vιg -draw-UBP-callback (similar to Table 183), which calls tlie navig-create-local-UBP -callback (similar to Table 184) to create a navig-path-tracer, by cloning a master structure which subworkspace is partially built, which is transferred to the Panel (3214) and its subworkspace is displaved and further configured by calling the navig-create-local -UB -callback (similar to Table 184), which actions are similar to those prev iousIv discussed uι reference to FIG 31 , resulting in the displav ot the selected pathway (3215) By selectmg anv ot those bioProcesses (3216) and displaying its details (3217) allows to further interactively nav igate through the upstream or dow nstream pathways of such particular bioProcess Selecting the RESET button calls the reset-nav igation-callback (Table 187) which destroys the lists and the navig-path-tracer upon the Panel, enabling the selection ot a difterent bioModel and repeat the process, and selectmg the DELETE button delete- or recv cles the Panei 4 Simulation Mode: Simulating the Virtual Models a ) Initialization • The Simulation Mode can be restricted to anv desired set of indiv idual users, by packaging the application accordinglv The domain-menu comprise the heads "Pathw ay Libraries" and " Panels", and allow s also changing between user modes Before a simulation can be nun, the application must be appropriately initialized tor such purpose This is accomplished by accessing the "Panels" menu and selecting the "Initialization Panel' option which display s the Initialization Panel • Initialization is necessarv only if the application has been started or reset, or if additions or changes hav e been made the part ot the application to be simulated since the last Initialization The "Add Simul" button is to be selected onlv atter the "Nav lg Init" was been successfully concluded It changes to the database hav e been made bv the modeler since the "Navig Init" w as last concluded, or it the application has been restarted then the "Simul Init" button should be selected, since it comprises the methods ot the other two Tlie common purpose of loth buttons is to scan the application tor the av ailability ot certain values ot the bioReserv oirs that define the initial conditions required by the simulation, and it those v alues have not been prov ided bv the mixleler to infer those v alues from other v alues prov ided bv the mixleler. and it none ot the altemativ e source ot v alues are a ailable, either default v alues will be used, including symbolic approximations, or, depending on the attribute w hich v alue is missing, to send messages to the user to prov ide any of the alternati v alues and also to prov ide messages to tlie to be used anv time that the user request a predefined query that inv olves that kmd ot know ledge • Selecting the "Add Simul" button calls the add-simul-callback, which in turn calls the simul-init-pax (Table 188), w hile selecting the "Simul Init" button calls the simul-imt-callback (Table 188), which differs in that it first calls the nav ig-init-pr c (Table 9), before calling the simul -ιnιt-proc (Table 188), w hich in tum does the follow mg a) it calls the send-no-input-messages-pax (Table 188) which scans the loaded application tor ev erv bioReservoir that has a name but that has no inputs, either m the form ot bioProcesses connected to its biopool-p-posts, or as mput model-blocks connected to its bioPool, and it sends a message to the user tor each or those bioReserv oirs tound with no inputs, as a v aming tor the user to take appropriated measures it those bioReservoirs are to be in olved in a simulation The simulation proceeds also without those v alues, since inputs can also be paivided thaiugh the Simulation Panel as user inputs, or otherwise the quantify ot -uch bioPool vv ill initially be w hatever v alue the modeler has set or the program vv ill set tor the basal-quantitv parameter used, or its default v alue, and it mav or mav not be exhausted during the simulation run b) it creates a set ot four lists which are transferred to the Initialization Panel, and which are pan ided to mtorm the user about the source ot the v alues tor the Scalmg-Density attπbute ot each bioPool bv adding the name ot each bioReserv oir to one of those lists vv Inch elements that meet the following criteria i ) the list labeled UNList contains all bioReservoirs w hich initial-v alue ot the Scaling-Densitv w s prov ided bv the modeler; ii) the list labeled ANList contains all bioReservoirs which initial-value ot the Scaling-Densitv was set by the program to equal the value, provided by the modeler, ot the if-scaling-amount of that bioReservoir, in) the list labeled RNList contains all bioReservoirs which initial-value ot the Scaling-Densitv was set by the program to equal the value of the if-scaling-amount of a bioReservoir which name was entered by the modeler in the " if-scaling-bioReservoir" attribute ot the original bioReservoir, iv) the list labeled DNList contains all bioReservoirs which initial-value of the Scaling-Densitv was was set by the program to equal the default value ot 1000 To do so, for each bioReservoir it scans the value of its Scaling-Densitv and it it has a non-default value it enters the name of such bioReservoir to the first of those lists, otherwise it calls the set-scaling-density-proc (Table 1 8) which sorts and adds the bioReservoir to one of the other three lists, follow ing the cnteπa mentioned above, atter setting the value ot the Scaling-Densitv ot its bioPool accordingly • The set-scaling-density-proc (Table 190) discussed above is the method used in the current implementation or tins invention m conjunction with the scaled reasoning used as default An alternative method tor setting the v alues ot the scaling-density attribute, to be used when more quantitative information is available for the system to Le modeled, and in which case the modeler may prefer the mixed absolute/ scaled type ot reasonmg, which case an alternative procedure, the long-set-scaling-density-proc (Table 189)shouid be called This alternativ e method is much more complex but also more specific, and involves the known values ot the kinetic-parameters of the participating bioReactants tor each process A mixed approach can also be developed where if those kinetic-parameters are known then the reasoning of this procedure is applied, and if they are not available, then the previous more geneπc paxedure is called • The "Icons Init" button calls the lnit-icons-callback (Table 118) which function is not essential tor the functioning ot this system, but w nch provides a very useful cosmetic function, by realigning the tracers in the subworkspaces ot bioReserv oirs and bioProcesses and making their connections invisible. Selection ot thi- button is not necessary every time the application is started, and it can be selected any time thereafter, w hen problems are detected, in anv mode other than Simulation Mode (where those subworkspaces may be deactivated) The same effect is achieved tor individual bioReservoirs or bioProcesses bv slightly moving and repositioning their bioPool or bioEngme, respectively, which triggers their respective icon-movement rules, as detined in Table 81 , which also apply to repositioning the bioRole-posts any time a bioReactant or bioProduct is moved • Selecting the " Inil All" button calls all-init-callback (Table 119), w hich in turn calls the all the initialization procedures mentioned above, and selecting the "Hide" button calls the hide-workspace-callback, which hides this Tanei • With the alternative way ot simulation where the oπginal bioObiects are used, when selecting Simulation Mode faim another mode starts the version ot the change-mode-proc show n in Table 7, which causes the subworkspaces of all bioReservoirs and all bioProcesses to be deactivated, and during the processing involv d in activating a submodel for simulation, the subworkspaces ot onlv the bioReservoirs and bioProcesses -elected to participate in such simulation will be activated, while when leav ing Simulation Mode to another mode causes the subworkspaces ot all bioRe-ervoirs and all bioProcesses to be activ ated again The version ot the change-mode-pax used with the other simulation altemativ e. where copies of onlv tho-e bioObiects to be u-ed are created, dies nor contain the lines rev ering to activation or acti ation ot subw orkspaces b) Simulation Panel and Procedures • Because the applications build vv ith this system can become v erv large, it is important to hav e control ov er which parts of the Virtual Model are included a given simulation To control performance, two implementations are prov ided with this system, each having advantages ov er the other dependmg on tlie hardw are facilities available - In the tirst implementation, the constraining of the simulation space is achieved by using activ atable subworkspaces for composite bioObiects, such as bioReservoirs, bioProcesses, and certain time-compartment- and bv having all those structures initialized to a deactivated state When the subw orkspace ot an obiect i- deactiv ated, anv structure upon that subworkspace is not seen bv the inference engine or the simulator Onlv the subworkspaces of the desired structures at any given time are activ ated, and only their contents are therefore participating in a given simulation and associated inference- Methods assixiated with buttons on the entry-panels used tor simulations, and experiments, activate the subw orkspaces ot bioObiects connected along the desired pathways and contained w ithin the selected bioModel or compartment, and this activation is necessary tor propagating v alues along the pathways Inactivation ot those subworkspaces occur upon resetting the selection w ithin those panels This mechanism is also v erv utile in activating or deactivating entire branches ot a simulation model at run-time The efficiency ot large scale simulation application- is further improv ed bv having the initiation ot the simulation ot different subcomponents of the high-lev el bioModel be driven by events, when appropriate, or bv time interv als This implementation allow s only a single user to run -imuiations concurrently since the attnbute values of the bioObjects change duπng the simulation, as well as lie activ ation state ot such subworkspaces For multiple users, multiple processes ot the program hav e to be started - A second implementation is based in dynamically cloning those bioReservoirs and bioProcesses, or certain time-compartments, required by the simulation, and to use those copies to hold the changing attπbute values rather than the originals In this implementation, the subworkspaces of bioReservoirs and bioProcesses are not activ atable, remaining always activated On the other hand, the subworkspaces ot certain time-compartments are still achvatable, are deactivated w hen created, and their activation is controlled duπng the simulation, operating as in the first implementation This implementation allows multiple users to run simulations concurrently, each on a difterent X-wmdow, but mcreases the burden on the svstem by increasing the required RAM to hold the additional transient copies and to run more than one simulation concurrently Smce the svstem of the current mv ention is modularized, and the modules can be dynamically up-loaded and down-loaded, part ot this problem can be solved by up-loading the module(s) that contain the oπginals, creatmg the copies for the vaπous simulations on the top module, and removing the modules that are no longer required from the memorv, before the simulation is started • A simulation can be initiated trom anv named and connected bioReservoir in the Virtual Mixlel, trom the bioPool ot such bioReservoirs, or trom the bioReactants and bioProducts connected to such bioPools As show n in FIG 33, selecting the "simul panel" option (3303) trom the desired bioReserv oir (3301), hich is onlv av ailable vv hen in Simulation Mode, calls the create-inpu t- tvpe-proc (Table 190) w hich creates one ot tw o tvpes of entry-panel by cloning one ot the prebuilt master structures and displavs the subworkspace (3305), called a Simulation Selection Panel, dependmg on whether the subclass ot bioPool in lved represents soluble or bound bioEntities (Concentrations or Density inputs, respectiv ely) Either Panel (3304) prompts the user to select the tvpe ot input, and the choices offered are combinations ot absolute or scaled values with one-time or periodic inputs Selection ot one ot the radio-buttons calls the select- input-panel-callback (Table 191 ) which a) according to the user's selection it calls one of a set of specific procedures, mcludmg such called in this example, the create-peπodic-relativ -input-panel-proc (Table 193), which in tum creates and partially configures one entry-panel ot the specified type bv cloning one of the sev eral prebuilt masters, b) it creates two lists and then calls the fill-br-downstream-lists-pax (Table 194) to search the application tor all bioReservoirs that are downstream ot such reference bioReservoir, as defined bv the relations established during the initial initialization as described earlier, and fills the DBR list ith those bioReserv oirs, and then do the same for the downstream bioProcesses to be added to the DBP list, and uses those values to configure the scroll-area, as discussed abov in relation to FIG 32, and c) it calls complete-input-panel-proc (Table 192) to complete that panel and display its subworkspace (3305), called here a Simulation Panel Each ot the entrv-panels is related to the bioReserv oir, or the bioReserv oir referred by the bioReactant, from vv hich the request vv as nπginated that is, the related-item attribute of the entry-panel newlv created is a pointer to such bioReserv oir The difference between the one-time or peπodic inputs types of Simulation Panel is that the latter has two additional entrv-boxes to allow the user to enter the time interval tor subsequent entries (3309) and the number ot subsequent entries (3308) at such interv als ot the amount indicated bv the enrrv v alue (3306) and starting at the indicated time (3307), b) the difference benv een the absolute or scaled inputs tvpes ot Simulation Panel is that the entry v alue in the former is giv en in some units standardized throughout the application w hile the latter is a dimensionless value, and c) the prebuilt panels contain the ov erall layout with the common components, w hile other structures specific for each bioReserv oir are added dynamically at run πmt • Tlie Simulation Panel can now be used to interactively set-up and start simulations compπsing a desired bioModel bv selecting one trom the scroll-area (3312), as described abov e in relation to FIG 32 to allow selection ot an adequate size ot the model to be simulated The parameters and optional capabilities used tor the simulation at run-time are configured bv usmg an structure upon the Simulation Panel specific tor that purpose the model-defmition Its table of attπbutes (3319) allows the configuration ot anv desired attπbutes The items-belonging-to-this-model" (3320) is set bv the program to name the bioModel selected bv the user and the v anables and parameters that form part ot the simulation model are all those encapsulated in anv ot the bioReserv oirs and bioProcesses in the pathwav contamed m the vv orkspace named bv such attribute This i- lmpottant when dealing w ith v erv large systems allowing to focus the computer resources on the sub-v ste s or mterest Further attπbutes are used to set the time interv al between simulation cvcles, the tvpe ot integration algoπthm desired for the state v anables (3321) the configuration tor anv external simulator that can also be used to receive or prov ide values ot the v aπables in this ixlel. the name ot anv main paxedure that is inv ked once ev erv simulation cvcle w hich in tum mav start or call anv other paxedure and w hich in this case calls the model-simulation-pnx (Table 204), a choice to send all the v alues to external databases or simulators at the beginning or each cv cle an indicator ot w hether the simulation is not-running running or paused or w hether I- nothing to simulate or is a simulation error and the configuration ot the simulator clock to run either -v ncnronouslv or as fast as possible hich is more appropriate for simulating models which actions take place iv er long time penods) • This Panel permits the user to enter the input v alue (3306) to be added to the Accumulation ot such bioReserv oir and the time (3307) of such input Help buttons in each section of the Simulation Panel prov ides instructions tor the user in how to pnxeed, such as the one (3310) vv hich subworkspace is shown (3311 ) Follow ing those instructions, selecting the LIST button (3313) calls the list-simul -callback (Table 195), which finds the prev ious lists and then calls the read-scroll-proc (Table 196) to search tor the members ot those lists that are contained in the bioModel selected bv the user, as previously discussed, and fill the lists labeled DBRL (3314) with dow nstream bioReservoirs the SDBPL list (3315) with downstream bioProcesses, and the the BRL list w ith bioReserv oirs that prov ide the mputs tor such bioProcesses but vv hich are not included in the first list • As show n in FIG 34, selecting one ot the bioReserv oir lists (3314) displav s a w orkspace (3401 ) w ith pointers to each ot the elements ot that list, w hich allow tυ exam e the bioReservoir that are to be mcluded in the simulation Selecting anv of those pointers (3402) allows the user to either displav the table of attπbutes (not shown) of that bioReservoir or to directlv displav the bioReservoir and its subworkspace (3419) ot its bioReserv oirs Bin In a similar vv av, selecting the SDBPL list (3814) displavs the pointers (3405) to the bioProcesses that are to be included in the simulation hich upon selection (3406) directlv displavs the bioProcess and its subworkspace (3425) The user can examine those lists to decide vv hether the selection made is appropriate betore paxeedmg If not satisfy the user can reset the panel, and transfer to the panel additional or ditterent submodels and press the "List' button again • When a Simulation Panel is created the "Activate" and "Start" buttons are disabled to prev ent the user ot taking such steps prematurely When the processing associated w ith the LIST button is completed the ACTIVATE button (3315) is enabled, and w hen selected it calls its associated paxedure w hich is one ot three listed (Table 197) and specific tor each tvpe ot Simulation Panel Such procedures check that a v alue has been entered by the user and then call activ ate-simulation-proc (Table 19 ) which in tum a) looks on the Panel tor the three lists created abov e and calls th activate-niodel-pnx (Table 199) w i h those lists as arguments As discussed in sections abov e, upon entering the Simulation Mode the subw orkspace ot all bioReserv oirs and bioProcesses are deactiv ated so that their v aπables become inaccessible to the simulator The function ot this procedure is now to scan the DBRL DBPL, and UBRL lists and activ ate the subworkspaces ot each ot their elements, which are the ones that w ill be now included in the simulation atter which returns back to the prev ious procedure w hich scans tor the Basal-Densitv attribute ot the now accessible bioPool ot each ot the bioReserv oirs on those DBRL and UBRL lists and if its v alue has been modified bv the user then it adds the name ot the bioReserv oir to the L'ser-BC list of the set described below and if its v alue has a default v alue then it calls the basal-densitv-proc (Table 200) for such bioReserv oir • A simulation starts w ith the baseline model atter being initialized bv setting the initial v alues ot the initial amounts of the bioPools (concentrations densities, scaled-amounts or other quantities depending on how the bioPix ls inv olved w here detined) to be equal to the v alues ot the corresponding basal amounts In order to activ ate the svstem, a disturbance mav be intaxluced bv enteπng one or more input v alues through the enrrv -panel ot the desired bioReservoir or through the desired expeπment-selections ot the experiment-panel Bv entenng difterent v alues tor those v aπables or bv changmg the v alues ot the constant parameter- w hat-it analysis can be pertormed on the svstem Montecarlo simulations can be performed using a montecarlo-model-block as an input to each ot the bioPools desired as test inputs, as explained in other section and the simulation can then be started from either the enrrv -panel ot a desired bioReserv oir or through the desired expeπment-selections ot the experiment-panel, w ithout enteπng entrv-v alue- The historv ot v alues tor each t the v ariables ot interest can be stored m the form ot a matnx-like structure that is an arrav ot arrav s ot v alues for each v anable or parameter The v alues ot those arrav s are transient v alues that can be used tor statistical and sensitiv in analysis w ithin this svstem or can be archiv ed to a text tile external to the s\ -tern ot this inv ention or the v alues can be transferred to an external statistical package tor further analv sis In addition if the v alues of those arravs are desired in a permanent form ithin this svstem this is accomplished bv using the paxedure prov ided to make the initial v alues ot an arrav equal to the list ot its current v alue- separated ov commas • Tlie basal-densitv-proc (Table 200) has an important interence role since the v alue ot the Basal-Densitv (or tht Basal-Concentration) is used w hen the simulation is started as the initial v lue tor the state v aπable ot the bioPool the Accumulation The task ot this procedure is to obtain a v alue tor that attribute it the u-er ha- not -peciticalh entered one trom other data and information contained in other attributes ot that bioReserv oir or its bio Pool It also uses a s t ot lists contained in the structure labeled BA (3317) upon the Simulation Panel to -ort and list all the bioReserv oirs to be included in the simulation to indicate the source ot those v alue- u-ed t . the Basal-Densitv The user can examine the results ot that interence atter the processing associated w ith tne ACTIVATE button is completed, when the button becomes disabled and its appearance changes Selecting the BA button (3317) displays its subworkspace with a set of lists filled by the program following the criteria discussed below. Those list can now be exam ed, by selecting their icons as discussed elsewhere, to find out which of the bioReservoirs got the value from each of the alternative more or less precise sources. • Various alternative versions of this procedure are made available, which are disabled and the one preferred is enabled by the modeler to better match the particular application. Alternatively, each of the alternative versions could be made specific for particular subclasses or groups of bioReservoirs. This procedure initially scans the normal-basal -density value of the bioReservoir and if that value is different from the default value of 9.99e-99 then the Basal-Density is set equal to its value, and the name of the bioReservoir is added to the NBD-BC list . It the subclass of bioReservoir is sol-mol-reservoir then the Basal-Concentration would be set equal to the value of the normal-basal-concentrahon if different from the default value. In the alternative implementation shown here, if the subclass of bioReservoir is sol-mol-reservoir this procedure scans the normal-basal-concentration value of the bioReservoir, if that value is different from the default value, 9.99e-99, then the Basal-Density is set equal to its value multiplied by the Avogadro's number, which states that each mol has 6 023e23 molecules, and the name of the bioReservoir is added to the NBC-BC list. The conversion is made when modelmg complex mixtures of bound and soluble molecules. For example, for many biochemical systems where the molecules form large localized active complexes molecules are not homogeneously distnbuted, and therefore it is more meaningful to integrate in a bioProcess the quantities of both types of bioPools representing bound and soluble molecules usmg the number of molecules rather that their concentrations. If the normal-basal-density (or normal-basal-concentration) has the default value, then this procedure scans for the Scaling-Densitv attribute ot the bioPool and if it has the default value then the bioReservoir is added to the "NO BC" list. Othenvise, this paxedure scans for the Scaled-Basal-Amount ot the bioPool, and if its value is not the default value, then the Basal-Density is set equal to the value resulting from multiplying the Scaling-Densitv bv the Scaled-Basal-Amount values, and the name of the bioResen'inr is added to the SBA-BC list. Otherwise the Basal-Density is set equal to the value resulting from multiplying the Scaling-Density by a factor associated according to the symbolic value of the "abundance" attnbute of the bioReservoir, which value is set by the modeler or otherwise the default value is used, and the name of the bioReservoir is added to the PAB-BC list The interence engine may paxeeds the search for other sources of values, such as in an alternative method (not shown), where this paxedure sets the value of the Basal-Density equal to a value proportional to the physiol-max-density (or physiol-max-concentration) of the bioReservoir if this value is different from default. If the user has not entered any of those values, then the program sets the value of the Basal-Density equal to the average of any known thresholding parameters of any bioReactant connected as an output of this bioReservoir, such as the Km, Ks, Ki or 1 /(2*Kp). This alternative method emulates the following reasoning- the value ot Basal-Density represents physiological conditions and it is assumed that physiological concentrations approach the mid-range functional concentrations in the most relevant bioEngine in which the bioResenoir participates, as represented by constants such as the Km for a substrate, the Ki for an inhibitor or the Ks for a ligand or complex-subunit. It those values are not known, a message is displayed requestmg the user to assumed some values, based on comparisons with similar systems. Under normal in vitro assay conditions, an enzyme is generally present in limiting or catalytic amounts, in a range between 10e-3 nM and I0e2 nM, while a substrate is generally in the range of 10e3 nM to 10e7 nM This value can be adiusted at a later time as more is learned about the system. If none of the alternative means are paivided the system's default values are set • Once the participants in the model have been activated and configured, the mput values have been entered, and the model-definition has been configured, the simulation is started by selecting the START button (3322). which depending on the type of Simulation Panel will call one ot the six procedures specific for each ot the one-time Panels (Table 201 ) or for each of the periodic Panels (Table 202), which read the input values entered by the user and perform different types of processing dependmg on the types ot variables involved The concentrahon-entry-panel is used to input the absolute concentration value entered by the user m the input-value edit-box, in units such as molar, which is added as a concentration or is converted and added as a density (depending of the alternative options available in this implementation). In a similar way the density-entry -panel is used to input an absolute density value, such as units/compartment, while the relativ e-en try-panel is used to mput the scaled dimensionless value. Those input values are used the values ot the corresponding attnbutes in each type ot bioPool, such as the density-entry or the scaled entry at the time ot entry value entered by the user, where these values are then integrated by the formula of the Accumulation of such bioPool at the next simulation cycle, and the values of such attπbutes are reset to 0 0 atter one simulation peπod has elapsed since the time the input values were set The set of periodic type ot Panel follo initially the same type ot processing, but the setting of the values of the density-entry or the scaled entry attπbutes ot the bioPiol occurs then repeatedly as manv times as entered by the user m the entry frequency edit-box at times intervals as entered by the user in the time-interv l edit-box. beginning at the simulation time entered bv the use' ji the input-time edit-box. Each of those procedures then call start-simulahon-proc (Table 203), which requests tie simulator to run the model as previously defined in the model-definition • Duπng the simulation run the model-simulahon-proc (Table 204) is called once every simulation cvcle. which sets the values of the attributes current-simulation-time and current-Simula tion-time-increment of the entry-panel. The user can select the "T" button (3325) to display its subworkspace, which contains a digital display of those values as well as the values of other performance parameters. This procedure also calls the compute-graph-transform-proc (Table 205) descπbed beio . • By selecting the PAUSE button (3323) or the RESUME button (3324), which call their associated procedures (Table 206), the user can pause and resume the simulation at will. By selecting the RESET button (3326) the reset-simulation-callback (Table 207) resets all the buttons on the Panel and calls the reset-proc (Table 207), which: a) first it scans the DBRL, UBRL, and DBPL lists and resets each of the bioReservoirs and bioProducts listed, mcludmg their status attributes, their icons and deactivating their subworkspaces; and b) then delete those lists. Note than when a Simulation Panel is created, most of its buttons are disabled, and they are enabled as the previous step has been selected by the user and completed by the program, at which point the button ot that previous step is disabled. Disabled and disabled buttons have different appearances, and this implementation both guides the user about which steps are available at each point in time, including RESET which is enabled at all times, and furthermore, prevents the user from taking steps ahead of time bv mistake The DELETE button (3327) is disabled w hen the LISTS button is selected and it is not enabled until the reset is completed, preventmg the user from deleting the panel before all the participants in the simulation that mav have been modified are reset. • The paxedures that are modified tor the alternative implementation ot the simulation, when copies are u-ed mstead ot the original bioProcesses and bioReservoirs so that the values of the originals are not modified, are listed in Tables 211 through 221 ). • Digital and Graphic Displays of Dynamic Values - Tliis system's graphic interface allows simulations to be followed in different ways, including - creat g pathways on a workspace where dummy copies of the bioProcesses in vol ved, or full copies ot both the bioReservoirs and bioProcesses involved (depending on the alternative method of simulation used) of all the participating), are kxated in sequence and the corresponding connections between them are drawn. This structures allow to further interactively navigate through the svstem as usual, including back to the original- from which the copies were made. - animation by color changes of the activated components , - display of the current values of desired variables m digital form, - dynamically created graphs of a set ot time series ot the values ot desired variables: and - dynamic charts of the values of a variable versus another variable, - Selecting the details option of any of the bioReservoirs or bioProcesses that take part in the simulation allow - to follow up the quantitative simulation by providing access to the different structures in their sub ork-pace- Only the icons upon subworkspaces that are activated are active Therefore, when in Simulation Mode the capabilities now to be descπbed, as well as the navigation capabilities, are restricted to onlv those structure- that are selected participants for that simulation. The current values of the variables of each bioReservoir or bioPaxess are bv default displayed in digital form (3403 and 34(14) To dynamically display the time cour-e or the values those variables for the time frame selected dunng a simulation graph-tracers are used, w hich subworkspaces with a graph and associated structures are not stored, but are rather created or deleted w hen the user selects one ot such tracers. These methods are described now - A graph-tracer is an obiect (Table 32) connected either to a bioPool (3421 and 3428) or a bioEngine (342t. ) u-ed to control the dynamic creation and display at run-time ot a graph w hich plots the values over time ot key variables or parameters ot the bioObject w here they are contained, scaled or absolute versions tor bioReservoirs Selecting the "show -plot" option calls the graph-tracer-handler-proc (Table 208). which depending on the class ot the graph-tracer from which it was inv oked calls either the scaled-BR-graph-proc (Table 208), the absolute-BR-graph-proc, or the scaled-BP-graph-proc, which first create a subworkspace tor that tracer with all its contents by cloning the subw orkspace ot the corresponding prebuilt master structure, and then configure the labels of the graphs (3423 and 3428) and the ret-bioreservoir or ref-bioprocess attπbute ot each ot the graph-tranf-vars upon such new subworkspace to refer specifically to that bioReservoir (3419) or bioPaxess (3425), respectively - The design ot graphs and associated structures deal with plotting multiple variable w hich values differ orders ot magnitude on graph structures that do not provide multiple axis scales In tlie current implementation the system automaticallv adiusts the scale to the current values ot the time-series to be plotted, u-ing a s\ ste or titermediarv variables to dynamically transform those disparate values into others that fit a common scale Tins set of new variables are instances of subclasses of the class transf-factor-var ( Table 15), a float-variable A representative example of the attπbute table of a default instance of one of those subclasses, a velocity-transf-factor, is shown (Table 209) Among the attributes of transf-factor-var are: "transform", which value is given by an instance of the class graph-transf-var (Table 14); and "ref-vaπable", which makes reference to the particular attribute of a bioObject that provides the input value. The Label and the Transform value are displayed. The role of the graph-transf-var is to hold a transformed value ot the current value of the parameter or variable referred to by its "ref-vanable". The transformed value is suitable for plotting within the scale of the related graph. The role of the transf-factor-var is to hold the value of the factor necessary to obtain the desired transformation, as inferred by the compute-graph-transforms-proc (Table 205) only when a simulation-model is running. Each subclass of the class transf-factor-var corresponds to one of the bioObject s attributes to be transformed, which matches the value defined for the "label" attribute of each subclass. The .ransf-factor-var provides by itself the order of magnitude of the vanable it transforms. - Selecting the "hide-s.graph" option (Table 210) of the bioReservoir, which appears only when the graph upon the subworkspace of the scaled-BR-graph-tracer exists, or deselecting the graph-tracer, or selecting the delete option directly from the subworkspace of the tracer deletes that subworkspace with its contents. The same applies tor the other classes of graph tracers. • Scaled Computation Approach for the Variables of bioReservoirs and bioProcesses - The formulas of the parameters and variables that dynamically characteπze a bioPool. depend on other numeπr v aπables or parameters that are either attπbutes of the bioPool or its bioReservoir, or that are attributes ot the bioReactants and bioProducts that represent such bioReservoir in different bioProcesses. Table 83 lists a representative set of formulas, as examples of genenc simulation formulas comprised in this invention to simulate a set of scaled-valued variables and Table 84 lists a set of generic simulation formulas specific tor the Contribution of different subclasses of bioReactants that incorporate the values of scaled-valued vaπables or parameters Table 86 lists a set of genenc simulation formulas that are alternatives to the formulas in the set shown in Table 84, and which can be used in this invention to incorporate the values of absolute-valued variables or parameters mto the Contπbution of each bioReactant. These formulas for the Contribution do scale those absolute values using either a linear or sigmoid approach, depending the role in a bioProcess represented by each class of bioReactant. Therefore, since the output of the Contribution is dimensionless, whether the inputs are scaled (as in the case of using the formulas in Table 84) or absolute (as in the case ot usmg the formulas in Table 86), it is now possible to integrate in a smgle bioProcess a mixture of bioReservoirs where some of those bioReservoirs use only the scaled-valued variables while other bioReservoirs, called ot mixed-type, use a mix of the scaled-valued variables, such as the Scaled-Amount, and absolute-valued vaπables, such as the Density Those two values are interconvertible by using the value ot the Scaling-Densitv, as computed by the formula for the Density in Table 86, so the user may be able to display the output of a simulation also as converted back mto Density units tn this case. The Contribution can be used in coniunction with either absolute-valued or scaled-valued variables, and therefore allows to integrate parts ot the simulation where the absolute values of parameters and initial conditions are known, where other parts ot the simulation where those values are unknown an have to be approximated, which is best done when using dimensionless values. - The Quantity ot the bioPool is the only quantitative output value propagated from any component ot a bioReservoir to any component of a bioProcess That output quantity value of the bioPool is used to compute either: a) the value of the Velocity of each bioEngine connected to each bioReactant connected to such bioPool, which is the method normally used when usmg the absolute computation approach, to be discussed below, and b) the v alue of the Contπbution of each bioReactant connected to such bioPool, which is an intermediary variable which in tum is used to compute the value of the Velocity of the bioEngine to which that bioReactant i- connected, in combination with the Contnbutions of all bioReactants connected to such bioEngine, this being the preferred method used when the scaled reasoning mode of simulation is preferred by the modeler or user The formulas for the variables that give the value for the Contribution are specific tor different classes ot bioReactants, as more specifically defined in Tables 83 and 84 The formulas for the classes that represent reactants that bind to specific sites other reactants, such as substrate.r, ligand. r, inhibitor.r or ion r, are designed as to paivide a sigmoid scaling around their characteristic kinetic parameters, winch implicitly provides a smoothed thresholding of the Quantity of the bioPool for that particular bioProcess, as represented by the bioReactant. When using the scaled-valued set ot vaπables, the Scaled-Amount is used in coniunction with the corresponding scaled kinetic parameter, as the examples given in Table 86 show The fomiulas ror the Contribution tor other classes ot bioReactant. such as receptor r or enzyme r, are designed as to prov ide a linear •staling trom none to their maximum observ ed value, represented as 1 0 if such absolute v alue is unknow n lr contrast with the absolute mode of computation, where there may be great variability in the formulas needed to provide the value for the Velocity, dependmg on the class of bioEngine involved, m the scaled mode ot computation the vaπabihty is introduced, to a much lesser extent the simulation formulas that provide the v alue tor the Contπbution, while only one very generic simulation formula is required for the Velocity ot all classes of bioEngmes As listed in Table 83, the very generic simulation formula for the Velocity included in the current implementation ot this invention integrates various coefficients and a rate-constant to give the modeler or user the flexibibty of by changing the values of those attributes ot the bioEngine to modify the behavior ot the system in different ways, without the need to write specific formulas for each situation, while the default values ot those attπbutes do not affect the system - The Velocity ot each bioEngine in tum is used to compute a) the Production-Rate any bioProduct connected to such bioEngine; and b) the Consumption-Rate any bioReactant connected to such bioEngme, which mav be 0 0 it such bioReactant represents a reactant that is not consumed in such pnxess, or may have a value that mav be withdrawn from a bioPool as an output (like any standard Consumption-Rate), but then retamed for a period ot time and then returned back to the bioPool as an input (like any standard Production-Rate will do), as specified by methods specific for the variables of such particular pair of bioReactant and bioPool, or for a group of such pair which are identifiable by some specific common attribute, or which are defmed as separate subclasses ot their respective classes - Several bioProcesses mav contribute through their outputs to the Input-Rate of that bioPool, which values are then integrated when computing the value of the Accumulation of that bioPool Users can also add (or remove) an absolute or scaled amount durmg a simulation to the selected bioPool, by having specific procedures settmg the values ot specific attributes ot the bioPool, as discussed above, which are then mtegrated mto the Accumulation bv its simulation formula - The Basal-Quantity (which may be either a Basal-Concentration, a Basal-Density, or a Scaled-Basal-Amount) represents the initial conditions, and paivides the initial-value tor the mtegration of Accumulation, winch is a state v anable that integrates all other dependent variables When usmg the scaled-valued set ot v anables, the value ot the Scaled-Amount is the value ot the Accumulation constrained to a range withm 0 0 and 1 0 The values ot the Concentration or Density are constrained to not be less that 0.0 - In this invention, the value ot variables or parameters that are attnbutes ot bioObjects upon the subworkspace ot bioReservoirs and bioProcesses, can be simulated only if the subworkspace of the bioReserv oir or bioPrixes- upon which it is located is activated When the user selects simulation mode, the subworkspaces ot all bioReservoirs and bioProcesses are deactivated, and only those that are to participate in a simulation run are activated This is a mechanism to improve performance of what may become an extremely large system ot parameters and variables In the current implementation of this mv ention, each of the v alues is computed once each simulation cycle usmg the equations defmed by simulation formulas - The implementation of the intermediary v anable, the Contnbution, is a nov el and very important teaching ot this inv ention, particularlv in applications when the knowledge ot the quantitative parameters and initial conditions ot the system are incomplete, or when a more abstract and generic system is desired, such as w hen providing a Shell to be used in difterent and unpredicted ways This implementation is relev ant in sev eral difterent w av s It allows to treat each of the bioReactant ot a bioPaxess as a generic sell -contained unit w hich allows to model also participants in a bioProcess which are known to interact but which exact role- in such process are unknown, where the velocity is geneπcally computed bv simply multiplying the contnbutions ot anv participant that the modeler may want to model These geneπc units become ev en more generic when used in combination with the set of scaled-valued vaπables, which allow the user to enter v alues based on expert knowledge, or quickly perform what-if analysis Another important result of using the Contribution i- that, a- discussed above, allow to perform quantitative simulations that integrate into the Velocity ot any bioProce-- values originated trom bioReservoirs with both types ot absolute-v alued and scaled-valued vaπables This means that those parts of the complex model where the absolute values ot their kinetic parameters and initial conditions are known can be integrated vv ith other parts of the complex model where relative v alues are used o cause the absolute values may be unknown - The abstraction provided by the Contnbution also facilitates the use of bioProcesses as black-boxes w hicn are also be implemented m the current svstem ot this invention without using the Contπbution Black-boxes are used to represent anv type ot participant that is known to cause something to change somew here dow n the line ev en it it is known that other intermedianes are mv olved. but vv here the details or identity or ev en the exi-teme of those intermediaries is unknown The bioReactant- in a black-box represent the entities (ot hioPix .( - )) that cause some ettect on some other distant entities or bioProducts (the input to other bιoPool(s)). and like in otner geneπc bioProcesses. either the kinetic-coefficient ( scaled or absolute) that modifies each bioReactant or the -ate-constant that modifies the overall process, representing the proportionality factor between the quantity of -auseisi and the quantity of effects, can be used • Absolute Computation Approach for the Variables of bioReservoirs and bioProcesses - More standard ways of quantitative simulations usmg the known absolute values of the system parameters and initial conditions, can be performed by using only the set of absolute-valued vanables or parameters, and by usmg a different set of generic simulation formulas, such as those shown in Table 85 From those vaπables, the one that offers more variability in the formulas needed for each class of bioEngine is the Velocity, which is in contrast with the scaled mode of computation where only one very generic simulation formula is required for the Velocity of all classes of bioEngines It is also possible to wnte very complex simulation formulas to encompass a variety of different situations, such as that in Table 82 to be described below. The value of the Velocity ot a bioEngine in this approach depends directly on the Quantities of the bioPools connected to each bioReactant connected to such bioEngme, which is the method normally used when the formulas that give the value ot the Velocity are those that represent the equations that a biochemist will normally use to compute the velocity ot a reaction, based on the quantities of the reactants and on some known kinetic parameters, such as the Michaehs constant (Km), inhibition constant (Ki) or the equilibrium dissociation constant, and which the preferred method used when the absolute reasoning mode of simulation is preferred by the modeler or user The simulations formulas for the Velocity of absolute-valued enzymes, such as that listed in Table 85 (which is equivalent to the Bπggs and Haldane approach where V = n* kp*[E [SJ/([S] + Km * X), where X = 1 if no uihib ltor.r is connected to the bioEngme, or X = (1+ [I]/Kι ) if an inhibitor.r is also connected to the bioEngme), assume the instantaneous or initial velocity approach, since increases or decreases in the Concentration ot the substrate are updated at small time intervals in this invention. • Following are some examples ot how the common knowledge of chemists is implemented in the current mv ention - For receptor-bioEngines or enzyme-bioEngines with multiple equal binding sites, the velocities can represent reactions ot two major types- a) the generic simulation formula for non-cooperative-binding is equivalent to V = n*Kp*[E]*|S|/(Ks+[S|), and represents the situation where bmding at one site has no effect on the intrinsic dissociation constants of the vacant sites, yielding hyperbolic velocity curves, and being impossible to tell from the kinetics vvhether there is 1 pmole with n identical sites or n pmoles of 1 site; and b) the geneπc simulation formula for cooperative-binding represents the simple sequential interaction model of an allosteπc enzyme with 2 cooperative substrate sites It is modeled as two substrate.r connected to the same bioPool, but each of those bioReactants have different dissociation constants, and the simulation formula is equivalent to \ -n*kp*|E] * ([S]/Ksl+|S] Λ2 /Ks2 Λ2 )/(1 +2*ISl/Ksl +(S] Λ2 /Ks2 Λ2 ) Here, the binding of one substrate molecule increases the affinities of the v acant sites for the next substrate molecules, yielding sigmoid v elocitv curves Thus, the sigmoid response acts as a smooth "on-off" switch", and at intermediate specific velocities this paivides a much more sensitive control of the reaction rate by vaπations in the substrate Concentration Allosteπc enzymes generally result in sigmoid velocity curves due to cooperative binding, either positiv e or negative (binding one molecule facilitates binding ot the next) The Hill Equation is used for an enzyme w ith n equivalent S bmding sites, it the cooperativity is very marked, in which case the Km ot the single substrate r has to be set, not equal to the real Km but rather equal apparent Km to the n power Under these conditions, dominated by [S| Λ n, the equation can be simplified to V = kp*|E]*|S] Λn /(Km'+|S] Λn ) For enzyme-bioEngines the application in this mvention focus on regulatory pathways, which are controlled by enzymes vv hich activ e form is onlv present in catalytic amounts and a steady-state is assumed For receptor-bioEngines, which include processes tor other specific binding proteins, the geneπc tomiula for the v elocity represents the system t equilibrium, and is equivalent to /(l+(Ks/[L))) - Inhibition can be modeled in different ways, and the modeler has to decide what best represents each situation Table 82 lists a very genenc formula that allows the modeler to connect to the bioEngine one inhibitor-reactant that can be ot any one of the tour common types represented by the four defined subclasses of inhibitor-reactant This formula is capable ot first detecting which subclass of inhibitor-reactant is connected to the bioEngine and then applying the equation with one of the alternative modifiers included which apply to that particular type or inhibitor However, some of those types ot inhibitors may be better represented in the system ot this inv ention as competing with the substrate trom a separate bioProcess, which allows tor a more intuitive representation and understanding ot such competition and a higher level of manipulation by the user, which are in tact some or the advantages ottered by the system ot this mvention when compared with other more global modeling approaches Competitive inhibition may be modeled within the correspondmg bioEngine, with the generic formula such as that in Table 85 Noncompetitive inhibition is best modeled as a separate complex-tυrmation-process between the enzyme and the inhibitor that competes tor the enzyme by being connected to the same bioPool Feedback mhibition should always be modeled by a separate bioProcess Anv further v elocitv equations can be deπv ed in the same manner, by using well established equations in the field ot i .ochemical kinetics and the reader is referred to standard references such as Segel,I H ,1976 Biochemical Calculations 2nd Edition lohn Wilev __ Sons, New r ork c) Expeπment Panel and Proceαures • An Experiment Panel is a facility that allows to perform manv of the previously discussed, but with the additional feature the capability ot using multiple points ot reference tor the generation of lists, creation ot pathw ays, or as the recipients ot quantitative inputs for simulations In contrast to the Simulation Panels vv hich are are dynamically created and deleted when requested from the bioReservoir that sen es as point ot reference, and , a Librarv ot Experiment Panels are created as permanent generic structures with different designs, accessible through the "Panels" head ot the domain-menus associated with the General Mode (2920) and vv ith the Simulation Mode prev iousIv discussed Each Experiment Panel is the subworkspace ot an mstance of entry-panel created bv cloning the Master-Expenment-Setup-Panel As show n in FIG 35, selecting one ot those options (3502) from the domam-menu (3501) displays the subworkspace (3502) of the named entrv-panel, which corresponds to one of those predesigned Expeπment Panels The new components ot such Panel are round structures (3504) organized m columns and rows which are instances of class experiment-selection (Table 222) New designs are created bv deleting of adding anv number ot such auxiliary structures used to select the combination ot bioReser oirs that are to serve as the points ot reference in such experiments, and also to allow the user to enter the mput v alues tor quantitative simulations ot such expeπments • Selecting one ot the experiment-selections (3504) displav s its table ot attnbutes (3505) which allows to al enter a short name in its ' label" attribute displaved on top ot the icon b) select a bioReservoir as entered m its ret-bioreserv oir slot and c) enter w hether ' currently selected" is true or false The v alues ot those attributes are sufficient to perform anv ot the qualitativ e tasks associated vv ith this panel If a quantitativ e simulation i- desired anv ot the v alues tor the other optional attnbutes mav be entered, such as those tor an absolute-v alued input or an scaled-v lued input, time ot input, time interval for peπodic enrπes, and entrv frequency, which hav e the same use as those previously discussed in relation to FIC 33 The configurations ot anv or all those experiment-selections can be stored tor later use and the combinations ot different expeπment-selections to be included in a particular expeπment mav be quicklv changed at will bv changmg the v alue ot the currentlv selected ' since onlv those with such v alue set to true, w hich get also highlighted w ith a difterent color, are mcluded in the paxessing when anv ot the tasks is requested This allows the user to have a set ot experiment designs tor those tvpes ot experiments most frequently used The BIORESERVOIRS button (3506) prov ides a graphic tool to facilitate the task of the user m selecting the appropriate name to enter the ' ref-bioreserv oir attribute ot those expeπment-selections, to be selected trom among the large number ot bioReserv oirs in the Virtual Model Selecting this button displavs its subworkspace (3507) if one exists or calls the BR-scroll-callback (Table 223) w hich creates one, containing an scroll-area listing in alphabetical order all the named bioReservoirs loaded on memorv, and w hich m addition to paiv iding the specific nomenclature us d for desired bioReserv oirs it allows to directlv access and veπtv the details ot a selected bioReservoir • Lpon enteπng the choices ot ret-bioreserv oir and setting the v alue true tor the desired combination ot experiment-selections the user can proceed bv selecting the PROCESSS button vv hich calls the process-exper-callback (Table 224), vv hich creates a set of lists and then scans the Panel to find all experiment-selections which Currentlv-selected is true and the Ref-bioreserv oir has a v alue w hich are inserted in the Exper Selections list (3512) and tor each such expeπment-selection tound it calls the same till-br-dow nstream-lists-proc (Table 194) called from the Simulation Panel to till the other tw o lists one (3513) listing all downstream bioReserv oirs ot all those bioReservoirs named bv the experiment-selections in the prev ious list, and the other (3514) listing all downstream bioPa cesses ot all those bioReserv oirs named bv the experiment-selections in the first list and then rinds all the bioModels that include all ot those bioReserv oir- and bioProcesses listed in those lists and creates an scroll-area displav ing tho-e bioModels to allow the us r to select the desired scope ot inclusion as described in reference to FIG 32 Selecting the CLEAR button (3 ζ 2 ) calls clear -exper-callback (Table 225) which deletes those lists and the scroll-area to allow making ditterent selections and repeating the PROCESS The other buttons on the Panel hav e similar or equal functions a- tn s descnbed tor the Simulation Panel, and therefore here onlv the differences w ill be bπeflv highlighted The reader is referred to the Tables 225 through 233 tor a more detailed description ot the processing inv olv ed Selecting the LIST button (3515) calls the list -exper-callback ( Table 226) w hich creates a new set ot lists SDBRL (3516), SDBPL (3517) and UBRL (3518) lists and finds the members ot the prev ious sets ot lists that are contained in the selected bioModel • Selecting the PATHWAY button (3520) calls the draw-exper-pathw av-callback (Table 227) w hich creates a nav ig-path-tracer (3531 ) together w ith its sub orkspace bv cloning the Master- av ig-Pathw av and transfers it to the Panel and then it scans the Exoer Selections list and tor each bioReserv oir listed calls th" create-local-exper-BP-proc (Table 228), while setting the value of the x-poS to a value close to the initial position when changing from one bioReservoir to the next, which performs a processing very similar to that described earlier for the create -local-UBP-proc (Table 176) for the upstream direction Now, instead of once as before, that procedure is called as many times as bioReservoirs are in the "Exper. Selections" list One example ot the display of one of those multi-origin pathways is shown in FIG.36, which are more complex The pathways start trom multiple initial bioReservoirs, and the pathways from latter initial points are connected, whenev er the possibility aπses, to the pathways from former initial points already on the Experiment Pathway Display Alternative implementations of any of the types of pathways is to include in the drawing of the pathways not only the bioProcesses, but also the bioReservoirs that are intermediaries between those process in the chaining process The procedures for those alternative implementations (not shown) apply the same methods and need only minor modifications to create, transfer and connect the mtermediarv bioReservoirs • This Expenment Panel can be used either for the only purpose of generating those complex pathways, or they can be further used to perform quantitative simulations that apply to the variables and parameter of the components of those pathways. For that purpose, the remaining buttons and structures to be used in the subsequent steps have been described before, and the procedures called upon selection of the such buttons (Tables 229 through 233) are only minor modifications of those described for the correspondmg buttons ot the Simulation Panel, to incorporate the fact that now there is not just one bioReservoir but the various bioReservoirs in the "Exper. Selections" list to consider d) Simulating Complex Models • To deal with complex systems where some parts of the system may be more precisely defined than others, the system of this mvention integrates a vaπety of methods to allow modeling and simulations while accommodating the uneven types of knowledge available. The following describes how the heterogeneous forms ot knowledge are integrated in the system of this mvention: - In some cases, sufficient mformahon has allowed scientists to develop mathematical models to represent a particular behavior of a system, and some of those models may be suitable for adaptation to be mcluded m the knowledge-base, giving the user the option to integrate them in their simulations. This type of knowledge is usually included in the form of the parameters charactenstic of the system and the initial conditions once the underlaying architecture of the network is matched, or it can be implemented directly by modeling particular mputs or outputs as model-blocks - Intermediate levels ot mformahon about a sequence of events, or effects followmg a cause or combination ot causes, allows the construction of semi-quantitative behavioral networks that are constrained by the data available, such as time intervals, context and compartments in which behaviors occurred, concentration lev el- at which different behaviors were observed, and so on.... This type of information is used to design the compartmentalized architecture of the network, and to provide semi-quantitative values to the scaled parameters and initial conditions. - Heuπstic and shallow knowledge can be integrated in the form ot either rules or formulas tor interred variables, that connect a cause with a distant effect, without detailed description of the unknow n underlaying niecnanism. • Depending on the amount and type of information and data available about the system to be modeled, and the nature and size ot the bioModels to be developed, the system of this invention s may operate in either quantitative or semi-quantitative simulation mode. With well known metabolic pathways, the simulation may be run in quantitative mode, but since in most biological systems both qualitative and quantitative information is incomplete, it may be difficult to simulate with accuracy such biological systems However, the semi-quantitahve methods mtegrated the system of this mvention allows to gain insight about the degree and direction of change in the model vaπables, and their quantity levels at different points in time • Of major importance simulating the behavior of biological systems is the need to model the ditterent states in which complex biological entities, such as cells, can be found at different points in time, and also to model the events that cause the transitions trom one state to another. There are several major types ot states and transitions to be considered, depending of whether the biological entity to be considered is a biological system. organ, cell, cellular compartment, molecule or any other entity We are providing here with just a tew example- among the manv considered in the currently preferred embodiment ot this mvention • Tlie modeler is provided with several methods to fme tune any specific parts ot the complex model, including in the ability to write formulas specific for the individual instances of variables that are attnbutes ot the bioReservoirs or bioProducts that model any such specific part of the complex model Within those formula- temporal reasoning is further achieved m the system of this mvention m several ways, such as bv specifying times or time intervals, using quantitative time constraints such as the expressions, during the la-t 30 seconds, a- ot 5 m utes ago, or between 3 hours ago and 4 hours ago. Fuzzy time intervals and time constraints may be -oecined if so desired to handle the uncertainty encountered in biochemical systems The simulation can be -v ncnronous or asynchronous, by setting different simulation time intervals for sets ot v anables ot bioProcesses and bioReservoirs that represent different parts of the complex mode ' . • The simulation can be continuous or time -constrained, and either vvav may be differentially applied to difterent parts ot the complex model To accomplish that, the simulation formulas can be complemented with rules that monitor those simulated variables to either set other values, particularlv those that are further integrated into an state variable, or by controlling parts of the model For example, a bioProcess or a bioReservoir can be programmed to be active only tor certain time intervals dunng a simulation run, by means of rules or paxedures that control the activation and deactivation of its subworkspace Those time intervals mav be either directlv specified or dependent on the v alues of other parameters or v aπables or any of their combinations Rules mav be detined to monitor the simulated values of specific variables, such as the Quantity of a giv en bioPool or the Velocity ot a given bioEngine, to be compared with a specified threshold, that when reached causes that rule to tngger some actions, such as setting the values of other parameters or vaπables, or activating and deactivating the subworkspace ot one or more bioProcesses or bioReservoirs, or starting one or more procedures Such rules m turn mav be a) it-type rules with their "scan-interval" attributes set to a specified time interv al that preferably matches the time-interv al used for the simulated vaπables, which means that such rules are inv oked once everv such interval, or b) whenever-type rules that are invoked whenever the specified variable receives a v alue and which trigger specihed actions when such v alue fulfills anv specified constraints, or c) lnttiall v-tvpe rules that mav tor example be hidden in the subworkspace ot a bioEngme or bioPool, and vv hich w ill be inv ked once ev erv time the subworkspace of their superior bioPaxess or bioReservoir is activ ated, and which mav tngger any ot the actions described abov e which mav apply to anv bioProcess or bioReservoir in the complex mixle. • One ot the several applications ot this invention is that ot a svstem ror signal processing and signal integration In such sv stem, simulations can hav e three lev els ot control through - the mteractions explicitly modeled in the architecture ot the graphic design ot this mv ention, namely the network ot connected bioReserv oirs and bioProcesses, vv hich represent and determines the specific mteractions ot the ditterent components of tlie complex model, - the propagation through such network of the dynamic changes in the v alues ot the variables ot such components, and - through the signals transmitted by the smoothed thresholding implicit in the design ot the Contnbution v anables ot the bioReactants which determine the output values of the Velocity ot the bioEngines, and - through the rates ot consumption of the bioReactants and the rates ot production of the bioProducts, that determine new changes in the values ot the Concentrations, now amplified to a larger number ot bioPools w Inch in tum initiate new w av s ot v lue propagations • The simulation starts atter a perturbation, such as a Concentration-Entrv, Densitv-Entrv or Scaled-Entrv , has been introduced and integrated in the ov rall svstem s equation d(E](t)/ dt - [E](t) + entrv + ∑ ιnputs( t) - jι * | E|(t) - ∑ outputs(t) In this svstem the bioReserv oirs and bioPaxesses placed in a biological compartment-lav er are activ ated successiv ely in time and space, as the activ ation signal is propagating forw ards based on v arious chaining relationships between those structures established duπng the initialization process according to the dovv nstream or upstream positions ot each of those structures respect to the others • When starting the knowledge base, the G2-s finds the initial v alues tor all v anables that receiv e v alues trom simulation formulas, and then executes the main simulation procedure For each simulation cvcle, the G2-simulator ev aluates in order 1 simulated state v aπables and parameters , 2 dependent v ariables and parameters, and 3 the mam simulation procedure The G2-s onlv ev aluates one, the most specific simulation formula for each variable • BioReservoirs which variables hav e scaled v alues can be mixed in a simulation vv ith BioReserv oirs which v ariables hav e quantitativ e v alues, since both tvpes ot outputs are integrated at the bioProcess lev el onlv atter being transformed to a scaled v alue Howev er the output v alues ot the v aπables of BioReserv oirs and of the thresholding parameters, such as Km, Kd, Ki or kp, have to be ot the same tvpe, either quantitativ e or scaled The choice ot scaled v alues between 0 0 and 100 0 for basal-Concentration, based on the know ledge ot the domain expert, can also be entered manually within the table ot attnbutes ot the bioReserv oir • Tabular functions ot one argument allow to deal w ith situations w hen the algebraic relationship betw een tw o bioVaπables is not known but experimental data is av ailable w hich allows to build a table that relates a set or values that represents the magnitude ot a cause w ith the s t ot v alues that represents the magnitude ot the correspxinding mechanistic effects or cellular response- and straight-line interpolation is optional These are important tools to biologist vv ho frequently measure complex cellular responses to external factors : Alternative Implementations and Variations a) An equiv alent svstem can be build with a less graphic intertace bv substituting each of the component- represented in the current implementation as iconic bioObjects upon ot the subworkspace of bioReservoirs and bioProcesses, and representing them instead as attnbutes of the bioReservoirs and bioProcesses, respectively Examples ot this alternative implementation are shown in Tables _ and _ The corresponding methods would need onlv mmor modifications, such as for example, bv substituting the current expression "the bioPool upon the subworkspace of bioReservoir X" with "the bioPool that is an attπbute of bioReservoir X", or substituting the current expression "the bιoReactant-1 connected at port-1 of the bioEngme upon the subworkspace of bioProcess X" with "bιoReactant-1 of bioReservoir X", here each of the specific bioReactants connected to each of the specific stubs ot a specific type ot bioEngine are now con erted into specific attnbutes ot the specific type ot bioProcess, and where those attributes are not values but objects, and where those objects may have as attributes other objects For example, the bioPosts now connected with each bioReactant and bioProduct can also be implemented as and attnbute ot such bioReactant or bioProduct, while the two sets of bioPosts connected to a bioPool can now become two sets of attπbutes objects of the bioReservoir, such as Input-1 or Output-3 By defining a specific attribute, such as "post" tor these new classes of objects, the specific distant connections can now be established by giving the same unique value to the "post" attributes ot one of the bioReactant attributes ot a bioProcess and one ot the Output attnbutes of a bioReservoir, or by giv ing the same unique value to the "post" attributes ot one ot the bioProduct attnbutes of a bioProcess and one of the Input attributes ot a bioReservoir The result of this alternativ e implementation is that the different levels ot encapsulation currentlv provided through the workspace hierarchy would then be provided bv an attnbute hierarchy, and the current representation ot those components bv their icons would be then limited to their representation bv their tables of attnbutes, which are also part of the current implementation Manv ot the tasks associated vv ith the menus ot the icons ot those components or other auxiliary icons can be associated in the altemativ e implementation as menu options ot the supeπor bioReservoirs and bioProcesses, as manv ot those are alreadv currently implemented The adv ntage ot using the approach descπbed in the currentlv preferred embodiment ot this mvention is that the more graphic mtertace is more intuitiv e for the user, and easier to use The disadv antage is the additional memory required to store the additional graphical structures b) Another alternative is to replace the complex knowledge-structures bioReservoir and bioProcess bv the components encapsulated in their respective subworkspaces, after some modifications One of the sev eral possible altemativ es is to bypass the bioReservoir and the bioProcess structures altogether, and to encode the pertinent information here detined within the bioReservoir's table of attnbutes in the bioPool's table ot attributes, and to encode the pertinent mtormation here defmed within the bioProcess's table of attπbutes m the bioEngine's table ot attπbutes, and to construct the iconic components now contamed in the subworkspaces ot the bioReserv oirs and bioProcesses directlv on the desired vv orkspace The adv antage ot usmg the approach descπbed in the currentlv preferred embodiment of this mv ention is that the bioReservoir and bioProcess structures encapsulate the details and simplifies the schematics, and makes easv the clon g and transfer of the preconstructed structures trom one location to another, making the task ot dev eloping new models or modifying existing time much taster and keeping complex schematics simpler Tlie disadv antage is the additional memorv required to store the additional graphical structures c) An alternative more compact implementation that would still allow developing multidimensional pathw avs b y passing the need tor bioReservoirs, is to directlv connect all the bioReactant-post and bioproduct-post that in the current implementation are connected to the same bioPool by giv mg them all the same name In such implementation, the "ref-bicenti tv' attπbute, as currentlv defmed for the class bioReserv oir could instead be detined for the classes bioReactant and bioProduct, allow ing in that wav access to the bioEntitv corresponding to an instance ot bioReactant or bioProduct that would prov ide the physical description ot such bioReactant or bioProduct This implementation would allow the user integrating the descπption of structure w ith function In another related implementation the v aπables and parameters, inputs and outputs as well as other attribute- a- currentlv implemented as attπbutes ot the bioReserv oir or its bioPool, or as separate icons vv ithin the bioReserv oir, could be implemented as attπbutes ot the currently correspondmg bioEngme d) Other ot the manv alternativ es include stoπng the bioResen oir or equiv alent structure w ithin the subw orkspace of the bioEntitv. or storing the bioEntitv w ithin the subworkspace of the bioReserv ir Hovv ev er, note that in the current implementation, the bioEntities are stored independently ot the bioReserv oirs because manv cases, and particularlv dealing w ith v erv large applications, it mav not be necessarv to store one bioEntitv tor each bioReserv oir, and instead pr totvpic bioEntities can be used that are shared bv manv bioReserv oirs But ev en in such cases, another altemativ e is stoπng all the bioReserv oirs that in the curren' implementation w ould refer to the same bioEntitv in the subworkspace ot such bioEntitv e) The concepts and methods subject ot this invention can be applied with each of the ob|ect-onented expert system shells trom various vendors, atter those capabilities not provided bv that particular shell are additionally encoded An equiv alent ot those capabilities ot the selected shell that are required to applv the concepts and methods ot this mv ention mav also be custom built from scratch or bv combinmg a set ot off-the-shelf components ft There are manv sophisticated capabilities that can be further dev eloped with this system, which a knowledgeable expert can derive trom the teachings ot this invention Here, onlv a few important ones ot w hich ill be described in detail g) As an altemativ e, the methods here represented could m part be compiled usmg this Shell or other shells of the compiled type, including but not limited to RTvvorks and Activation Framework The compilation mav improv e performance at runtime bv eliminating graphical interpretation of the iconic components Howev er compilation does not facilitate frequent modifications of the design and information contamed in the iconic components , a feature which is ot great importance when modeling biochemical svstems, the knowledge of which is being continually updated and improved h) The same concepts descπbed in this invention can be slightlv modified by a person skilled in the art, to incorporate multiple inheritance capabilities, allowing the bioObjects to mheπt attπbutes trom two or more superior classes Additional contails and code mav be required in that case to resolve conflicts that mav appear w hen more than one supenor class have the same attributes but receiv ing values trom different sources, or thaiugh ditterent methods 1) Manv ot the svmbolic v aπables or parameters could be also represented as logical v aπables or parameters w ith or w ithout tuzzv-beliets bv simplv changing the language ot the attribute name and its v alues For instance an attribute called statu could hav v alues available unkiw » and unavailable, or it could alternativ ely be called I ' -ai ailablc and have v alues true unknown or fal^e, the unknown associated tat tuzzy-bvlteh , such as the range 0 2-0 8 j) To further control the behav lor ot anv component or a simulation, difterent tvpes ot filters could be applied to tor example, the Density (or Concentration) ot bioPools or to the Velocity of bioEngines These filters can be ot anv of the tvpes ot filters used in signal processing control svstems, such as low -pass or ideal high-pass filters ( such as H(|ω)=e -1°*° for I ωl > ω else H(jω)=0 ), Gaussian filters (H( _)=e- α < ω > A2 *e-l ωt0 and others) Such filters could be executed in either formulas or procedures, that could be generic for a whole class ot v anables or more specific tor certain mstances or group ot instances The specific filters are more usetul it tine control is required k) The Density (or Concentration) of a bioPool is the result ot multiple interactions and is represented as a differential equation in the present embodiment Altemativ elv, it could be represented as a discrete-time linear sv stem or a continuous-time linear sv stem t equations or whenev er the Shell is able to handle v ectors as their equiv alent matrix svstem Difference or differential equations can be conv erted to state form, and the state v anables ot the sv stem are them described as a state v ector the coefficients ot the v anables are described a- a sv stem matrix and the forcing terms are described as the forcing v ector follow ing standard paxedures TABLE 1 Group of B. Class bioObject Group ivl Parameters Class bio Viev. -Object Group ol Variables Class Lists Class bioModel Class Arrav Class bioProcess (iroup ol isualObjec _. Class bioReservoir A. Auxiliary Tools Class bioEntity Class Button Class bioRole-Object Class Graph-Tracer Class bioReactant Class s aled-BR-graphTracer Class bioProduct Class absolule-BR-graphTracer Class scaled-B P-graphTracer Class bioNode-Object Class Lists-Tracer Class bioPool Class BR-chaining-Trater Class sol-mol-pool Class BP-d.aιnιng-Traι.er Class bound-mol-pool Class Querv -Tracer Class membr-bound-mol-pool Class Basal -density -source -Tracer Class bioEngine Class BR-scroll-Traeer (see subclasses in TABLE 62) Class P C. Group of Panels Class Seleciion-Panel Class Quer -Panel Class Comple\-paιlι-Tracer Enir -Panel Class Action-Button Class so-.o-sw -Builon D. Group of Panel.Controls Class pal-tleBuiton Class Toggle-Buttom Class go-lo-w s-Buuon Class Radio- Buttom Class liide-ws-Button Class Check-Box Class so-to-sup-obj-Bulton Class Type-in-Box Class Change-Mi _c-Button E. (iroup of Displays Class Resize-Bulion Class Graph Class hioConnection Class Scroll Area Class P-conneeUon Class Messace Class R-connec-ion Class Link Class Line Class Graph-Link IV. (iroup of Inference and Class Icon-Wire Simulation Structures Class bioPost Class Relation Class bioPiol-Post Class Rule Class bioPool-R-Post Class Tabular-Function Class bioPool-P-Posi Class Geneπ -Formula Class bioRole-Post Class Geneπς-Suτιulaiιon-Formula Class bioRcactant-Post Class Speciii.-Formula Class bioPπ xluu-Post Class Specific-Simulation-Formula Class Uiiils-ol-Mcasure-Dedaraiion Other Tools Class User-Mcnu-Choice Class Inlcreiice-blixk Class Procedure Class Model-block Class Model-box _ lass Experiment-Selection Class bioEntitv -Nines Class bioRelerence < 6 TABLE 02 C lass name outcome-par Supeπor class sv mbohc-parαrameier Mlπbuie- specific to class none In eπieil αltnbuies none Detαult settings initial value lor -vmtx bc-p.uameier vvnlun iliresliol TABLE 01 ei ilo loivvanl chain Class name generation-number- pai Supenor class int-par Mtπbute- specific lo clas none Uelauli selling. initial value lor integer-parameter 1 Class name \-pos Supeπor class ιnι-par Utπhuies specific in class none Delauli _.einng none Mlnhule displav - lasl-re-orded-value at standard po-uion Icon descπpuon width 50 lieialu 18 ded-valu al standard position l.eiatii 18 T\BL_ 4 C la name lloat-jw float- parameter lo class none option- I i parameiei do lorvvaid cliain initial value loi lloji-parameter 00 Class name phenoivpe-pai Supenoi class lloat-par Λtlnhuies specific lo class none Delauli setnnas dau tvpe lor i|uanιιlalιve-parameιer per cent Class name cell-numbcr-par Supeπor class lloal-par Mlπhuies -pecilK lo cla none Delauli llings dala tvpe lor i|uanuιauve paiameiei cell- Class name ccil-radius-par Supenor class lloat-par Atlnhu.es specific lo clα.s none Delauli settings dala ape lor i | uanutaιιve-paιameιer rru ons iniliαl value lor quantitative ruiαmeier 10 Class name cell-mass-par Supeπor class lloai-par Ulnbuies specific lo clas none Delauli settings initial value lor tloal-parameier 00 Class name cnmpartmeni-surlace-par Supeπor class tloai-jxir Ailnbuies specific lo clas none Delauli sellings initial value ton j uanlilative-parameicr l > 9e 99 dala tv pe lor i|uanlιlaUve parameier - micron- Class name compart eni volume-par Supeπor class lloal-par Λllπbules specific to clas none Delauli setiings lniUal value for i | uanlιlalι e-paramcιer y 9e 99 data t e lor quαniilauve-parαmeier liters Class name cell volume-par Supeπor class lloal par Muibuies specific lo cla- none Delauli sellings iniUal value lor quantitative parameter I Se 1 1 data tv pe loi quaniiiauve-paidmeier bier- TABLE 5 Cla .. name !emp_ra._re par Sur>enor class lloai-pdr Vaπhute. specific to cia . none Delauli sellings initial v alue lor float-parameter 37 0 data type lor quantitativ e parameter degrees C! a ... name temp factor pai Sujieπor class lloat-par Attributes specific to class none Defauii sellings initial v alue for fioat-parameier 1 0 Cla ^ - name pH par SUΓK: nor c lass float-par Attributes .specific to class none Default sellings initial value lor tloai-pardmeier 7 4 Class name pH-tactor-par Supenor class float-par Attributes specific lo class none Default settings imiiαl v alue lor float-parameter 1 Class name bιa»-par Su ieπor class float-par Attributes specific lo class none Delauli settings initial v alue lor flodi-parameter 00 Class name alp a- oell-par Supenor class floai-par Attributes sjiecific lo class none Delauli sellings maul v alue lor float-parameter 1 0 Class name tau-coell-par Supenor class float-par Attributes specific lo cla s none Default settings initial v alue for floai-parameter 1 0 Class name rate-consiant-par Surienor class floai-par Aitnbuies s j x ilic to class none Delauli sellings initial v alue lor lloai-pαrαmeier 00 Class name cell-paιgres>ιon-rαte- oιistαιιi-pαr Suf eπ r class rαle-constαnl-par Alti ibutcs sf _eιtic lo class none Delauli settings initial v alue tor float-parameter 00 TABLb 6 Class name pli siol-αmouni-par Sujieπor class float-par Attributes sj-ecific lo class none Delαult sellings initial v alue lor floal parameter 99e-99 Class name pli siol -cone-par Supeπor class plivsiol-amouni-par Attributes specific to class none Delauli settings data ty pe tor quantitative -parameter olar Cla.ss name ph siol-deiisity-par Sujieπor class ph siol-amoum-par Attributes sjiecific to class none Delauli sellings data ty r . lor quaniitalive-pαrαmelcr ujxe Class name plivsiol-cell-conc-par Supeπor class phv siol-amoum-par Aicributes s [ _cilιc to class none Delduli sellings data ry r>e lor quαntuαliv -parameter ce-p-ml Class name plιysιol-cell-deιisiιv-pαr Supenor class pli iol-αmount-par Atmbules specific to class none Delauli sellings dala rv pe tor quanlilaliv e-parameter ce-p-co Class name scaling -deiisirv -par Supeπor c la-s lloai-par Attributes specific lo class sei- v -user is lαlse Delαult settings initial v alue lor qua lilativ e-parameier 99 999 data lyr _ lor quantitative-parameter upce TABLE 7 Class name basal-amouni-par Supenor class floαt-pαi Attnbutes spe ilic to class none Delauli seuincs initial v alue tor float-paiaπietei 99e-99 Class name basal-conc-par Supeπor class basal-aniount-par Attnbutes speαlic to cl s none Delαult settinss dala type lor quaiititαuve-parameier ni Class name ba.sαl-quaιuιtv -par Supenor class basal-dmount-pdr Aitπbuies specilic to class none Delauli sellings data type tor quαiiuidiive-pαrameier units Class name basal-densny-par Supenor class basal-amouni-par Alinbuie- specitic to clαs none Detauli settings dat ty jie for uanutalive-paranieter upce Class name basal-cell -cone -par Supenor class basal-amouni-par Inherited attπbuies none Delauli settings data tyjie for quaiitilalive-pαrameier cepl Class name pd_al-cell-densιry -par Supenor class basal-dmoum-pαr lnherued attnbutes none Delauli settings data type loi quantiiative-parameier cepco TABLE ! Class name ti e-delav-par Supenor class int-par Attnbutes specific to class none Default : setiin.s dala type lor quantiiaiive-pαrαπieter seconds. initial value lor liiteger-parameier 0 Class name elapsed-simul-time par Supeπor class int-par Attnbutes spec il ic ιo class none Delauli .settings data type lor ijuantitaiive-paranieior seconds Class name acuvaiion-inierval-par Supenor class fioai-pαr Attnbutes s j ie ilic to class none Detauli settings data type for quantitativ e-pαrαmeier seconds Class name clock- ιnιerval-paι Supenor ciass activaiion-inierval-par Aunbuies specific lo class none Class name iιme-ιnιenal-p-tr Supeπor class activ ation-iniervdl-par Attnbutes specific to class none Class name deacuvation-inicrval-par Supenor class lloat-par Atuibules specific lo class none Class name timer-couiu-down-pαr Supenor class ini-par Attnbules sjiecific to doss none Default settings initial value for floai-parameter 864000 dala type lor quantitativ e-parαmeier seconds Class name Umer-count up-par Supenor class lloai-par Atinbutes spe ific to class none Delauli sellings initial value for fioai-paranieter 0 0 aαiα iv jie lor quantitativ -parameter seconds n TABLE 9 Class name lloal-pvar Superior class float-parameter Attributes specific to class none Inherited attributes none Delauli settings options lor parameter: do forward chain Icon description fioat-pvar-pattern (width 50: height 40) Class name entry-pvar Superior class float-pvar Attributes specific to class none Inherited attributes none Default settings history keeping spec: keep history with maximum number of dala points = 4 Class name scaled-cniry-pvar Superior class entry-pvar Attributes specific to class none Default settings initial value for quantitative-parameter: 0.0 Class name amouni-cntry-pvar Superior class entry-pvar Attributes specific to class none Default settings initial value for quantitative-parameter: 0.0 Class name conc-entry-pvar Superior class amouni-cntry-pvar Attributes specific to class none Default settings data type for quantitative-parameter: m Class name density-entry-pvar Superior class amouni-cntry-pvar Attributes specific to class none Default settings dala type for quantitative-parameter: upec Class name quanlity-cntiy-pvar Superior class amount-cniry-pvar Attributes specific to class none Default settings data type for quantitative-parameter: units Class name cell-conc-entry-pvar Superior class amouni-cntry-pvar Attributes specific to class none Default settings data type for quanlitalive-paramctcr: cepl Class name cell -dcnsiiy-entry-pvar Superior class amount-eniry-pvar Attributes specific to class none Default settings data lype for quantitative-parameter: cepco _ . TABLE 10 Class name amount-pvar Superior class float-pvar Attributes specific to class none Default setιin_s initial value for float-parameter: 9.9e-99: history keeping spec: keep history with maximum age of data points = 10 minutes Class name accumulation-pvar Superior class amouni-pvar Attributes specific to class none Default settings none Class name scaled-amount-pvar Superior class float-pvar Attributes specific to class none Default setiinss initial value for float-parameter: 9.9e-99: history keeping spec: keep history with maximum age of data points = 10 minutes Class name conc-pvar Superior class amount-pvar Attributes specific to class none Default settines data type for quantitative-parameter: m Class name density-pvar Superior class amount-pvar Attributes specific to class none Default settines data type for quantitative-parameter: upce Class name cell-conc-pvar Superior class amount-pvar Attributes specific to class none Default settines data type for quantitative-parameter: cepl Class name cell-dcnsity-pvar Superior class amount-pvar Attributes specific to class none Default settines data type for quantitative-parameter: cepco Class name quant lty-pvar Superior class amount-pvar Attributes specific to class none Default settines data type for quantitative-parameter: units Class name contribuiion-pvar Superior class float-pvar Attributes specific to class none Default settings initial value for float-parameter: 9.9e-99: history keeping spec: keep history with maximum age of data points = 10 minutes ^D TABLE 1 1 Class name rate-pvar Superior class float-pvar Attributes specific lo class none Default settings initial value for float-parameter: 0.0: history keeping spec: keep history with maximum age of data points = 10 minutes Class name binding-rate-pvar Superior class rate-pvar Attributes specific to class none Default settings - none Class name tranlocation-raie-pvar Superior class rate-pvar Attributes specific to class none Default settings none Class name activation-rate-pvar Superior class rate-pvar Attributes specific to class none Default settings none Class name intcraction-rate-pvar Superior class rate-pvar Attributes specific to class none Default settings none Class name ccll-progression-raie-pvar Superior class rate-pvar Attributes specific to class none Default settings none Class name produc-rate-pvar Superior class rate-pvar Attributes specific to class none Default settings none Class name consum-raie-pvar Superior class rate-pvar Attributes specific to class none Default settings none Class name ouipul-raic-pvar Superior class rate-pvar Attributes specific to class none Default settings none Class name input-rate-pvar Superior class rate-pvar Attributes specific to class none Default settines none . / TABLE Class name velocity-pvar Superior class float-pvar Attributes speciiic to class none Menu option not a final menu choice I -lault scums* none Class name enz me-velociiy Supenor class velocuy-pvar Attributes specific ιo class none Menu option not a final menu choice Dotault seuuiεs none CLLSS name receptor-velocity Superior class v locity -var Attributes s|vcιlιc 10 class none Class name compleviormaiioii-v elocitv Superior class velocit -pvar Attributes speαtic to class non Class name coniplevdissoc-v elocuy Superior class velc_ιιy-pvar Attributes speciiic 10 class none Class name Kni-Lranspoπ-vc'locnv Superior class velocity-pv r Attributes speciiic to c a>s none Class name coniorm- haιιgc-v elocuy Superior class velocuy-pvar Attributes speciiic 10 class none Class name translocation-v elocuy Superior class velocuy-pvar Attributes sjieciiic to class none TABLE Is Class name float-var Superior class float-v ariable Auribuic's specific to class none Inherite attributes none Delauli scuinαs options lor variable do lorvvard c .un. do not backward chain, data server G2 simulator v aliditv liuer l liideliniie supplv simulaiion-suhwiblc Stubs inlieπied Class name velocuy-var Su erior lass float- v .ιr Atiribuies sj .ecilic to class none Menu option a linal menu choice Delauli settings none Class name conceiuraiion-v r Superior class float-var Aiiributes speciiic to class none Menu option <ι linal menu choice Delauli sc'iunαs none Class name deiisiiv-var Supeπor class floal-v<_r Atinbuies sjieciiic 10 class none Menu option a linal menu choice Delauli seuin.s none Class name iiietic-p.irameier-v .« • Superior class float- ar Auribuic's specific to clα-ss none Menu option a iin.ύ menu choice Delauli scιtιιi-s iiiuial value lor llo.il-v.in.ible 9.-99 - TABLE 14 Class name model-block-var Supeπor class floai-var Attnbutes speciiic to class none Delauli settines delauli update uuerval: 3 seconds supply simulation subtable: Class name model-bk -k-ouiput-var Superior class float-var Attributes specific to class none Default settmss validity interval: indefinite. history keeping spec: keep history with maximum age of data points = 20 minutes. initial value for float- variable. l .Oe-1 . default update uuerval: 3 seconds Class name graph-transf-v.ir Superior class float-var Attributes specific to class none Delauli scitincs initial value for float- variable: 0.0. default update uuerval: 3 seconds: history keeping spec: keep history with maximum age ol data points = 10 minutes TABLE 15 Class name iransl-lacior-var Superior class float- ariable Attributes speciiic to class translorm is given by a graph-lranst-var: rel-vaπable: label: X IS X Inherited attributes none Delauli seuinss initial value lor float-variable: 0 0. delauli update interval: 3 seconds. historv keepins spec: keep historv with maximum number of data points = "" Attribute displays label όllset bvV 148. 7): x offset by (-20. 7) last-recorded-value oil set by (- 10. 61. Icon description iransMac-or-var-pallcrn (width 320. height 24. edge-color = toregrouiid i 73 TABLE 16 Class name query-array Superior class symbol-array Aiinbuies specific to class major-class: rel -component-class Default settings initial values lor symbol-array: none Attribute displays re -component-class at (- 10. -15) Icon description query-array-paiiern (width 38: height 38: medium-orchid, c van) TABLE 17 Class name rclercnces-array Supeπor class text-array Attnb uies specific to class none Delauli settings initial values for symbol-array: none Attribute displays ref-component-class al (- 10. - 15) Icon description rclcrcnccs-array-patlcrn (width 38: height 38: violet, cvan) TABLE 18 TABLE 19 Class name scroll-text-list Superior class icxt-lisi Attnbutes specific to class label is scroll-list Class restrictions unless in administrator or de eloper mode. selecting any c-scroll-tcM-Iist implies describe Delauli settings allow duplicate elements tor g2-lιst: no Attribute displays Η TABLE 20 Class name biouem-list Supeπor class nem-list Attnbutes sjiecific to clas none Class restπetions unless in administrator or developer mode. selecting any biouem-list implies descnbe Icon descπptiori bioiiem-iisi-pattern (width 36: height 40) Class name expeπment-selections-list Surjerior class biouem-list Atlπbutes specific to class label is "Exper. Selections" Default sellings allow duplicate elements lor g2-list: no. element tvpe for nem-list: experiment-selection Auπbute displays label offset ' by (-65. -26) Icon descπption expeπmeni-selections-lisi-pattern (width 36: height 40) Class name bioreservoirs-lisi Sujieπor class biouem-list Attnbutes specific lo class lisi-is-compleied ha.s values ime or false (default is FALSE). label Default settings element type for ueπi-lisr bioreservoir: allow duplicate elements for g2-lιsι: no Icon descπpuon bioreservoirs-lisi-paticm ( idth 36: height 40) Class name downstreani-bi reservOirs-lLsi Superior class liioreservoiis-list Attnbutes specific lo class label is " DBRL Attribute displays label offset bv t-26. -25) Clas.s name bioprocesses-lisl Supenor class bioitem-lisi Auπbuies specific to class list-is-completed has values true or false (default is FALSE): label Default settings element type for item-list bioprocess. allow duplicate elements lor g2-lιst: no Icon description inhented Class name dovvnsireani-bp-simulaiion-list Superior class bioproeesses- list Attnbutes specific lo clas.s label is " SDBPL" Attribute display s label olf ei by (-30. -25 ) Class name bm-downsireani-bp-siniulaiion-list Superior class downsireani-bp-Mniulaiion-li.st Atiπbutes specific to class ret-biomodel Inherited attributes label is " SDBPL " Attnbute display s inherited Class name neural-inpuis-list Superior class biouem-lisi Attnbutes specific lo class label is "N.ln" Atinbute displays label offset by (-25. -26) Icon descnption tieural-inpuLs-paitern ( idth 36: height 40) Class name neural-outputs-lisi Surverior class biouem-lisi Attributes sjxetfic lo class label is " N.Oul " Attribute displays label offset by (-25. -26) Icon descnption neural-ouiputs-hst-pattern i w idth 36. height 40) Class name paihcross-bji-lisi Supeπor class bioprocesses- st Attπbutes specific lo class label ι> " XBPL" Aitπbuie displays label offset by (-26. -25) Icon descπpuon pathcrnss-bp-paitern ( width 36. height 40) Class name patheross-br-lisi Sujieπor class bioreservoirs-lisi Attributes .specific lo class label is " XBRL " Attribute displays label offset by (-26. -25) Icon descTipuon pathcross-br-lιst-patlern I width 36. height 40) TABLE 21 Class name biotool Supenor class object Attributes specific to class none Menu option not a final menu choice TABLE 22 Class name model-block Superior class bioiool Attributes specific lo class output- 1 is given by a model-block -output- var Class restrictions unless in administrator or developer mode: menu choices exclude additionally: move. name, change-size, color, describe, creaie-subvvorkspace. when in simulation, navigation, or general mode: menu choices exclude additionall : clone, delete: attributes visible exclude additionally: notes, names Menu option not a final menu choice Icon description inodel-block-palteπi Class name Superior class Attributes specific to class n by a model-block-var: Class iuune sigmoid.l Superior class k Attributes specific to class Class name exp.c.pdf Supeπor class model-block Altπbutes specific to class mean is 00. \-val is siven bv a model-block-var Class name unil c.pdf Superior class model-block Attributes specific to class min-val is 1.0e-5. \-val is civen bv a model-block-v r Class name unιl .πι.1 Superior class model -block Attributes specific to class nun-val is 1 0e-5. max-val is 1.0 Class name normal i. dl Supeπor class model-block Attnbuies specific to class mean is 00: nun-val is I Oe- Class name sin. time. I Superior class model -block Attnbutes specific to class nun-val is 1 0e-5. max-val is 1 0. . Class name genenc model. block Superior class model-block Attnbuies speciiic to class p 1. p 2. p 3. p 4. p 5: p 6. p 7. p.8. p . . v I . v 2. v - v 4. v : v 6. v 7. v 8. v V Icon description generic model block-paiieπi (omitted) 9e TABLE 23 Class name inference-block Supeπor class biotool Attnbutes specific to class label is " "; descπption is ' ; outcome is given by an outcome-par; beia-coeff is given by a be ta-coetϊ-par Class restrictions unless m administrator or uil-build mode: menu choices exclude additionally: move. name, change-size, color, describe, create-subworkspace. rotate-reflect: when in simulation, navigation, or explorer mode: menu choices exclude additionally: clone, delete; attnbutes visible exclude additionally: notes. names, user-restrictions Menu option not a final menu choice Attribute displays label offset by (-35. 45) Stubs a -connection located at right 26 Icon descπption width 52: heicht 52. forecround Class name deacuvation-block Supeπor class inference-block Auπbuies specific to class none Menu option not a final menu choice Class name lime -deacuvation-block Supeπor class deacuvaiion-block Attnbutes specific to class time-iiiterval is given by a deactivation-iiuerval-par. iime-ihreshold is 9.9e99 Class name event-deaciivauon-block Supeπor class deacuvation-block Attributes specific to class none Class name aciivauon-hloek Supenor class interence-block Attributes specific to class none Icon descnption inhented Class name tiine-acuvauon-block Supeπor class activauon-bloek Attnbuies specific to class ume-iiuerval is given by an aciivation-interval-par. time-threshold ι " s 9.9e99 Icon descπption inherited Class name checkpoint-to-iloor-block Superior class activauon-block Attnbutes specific to class checkpoint is given bv a checkponu-var , threshold is 9.9e99 Icon descnption inheπied Class name checkpoint-to -ceiling-block Supeπor class aeiivauon-block Atiπbutes specific to class checkpoint is given bv a checkpoint-var: threshold is 9 9e99 Icon descnption inhented a checkpoiiii-to-cciling-hlock Names none Label Descnption ( λitcome vviihin-threshold Beta coel ' f 0.0 Checkpoint Threshold 9 9e99 ?7 TABLE 24 Class name button Superior class hioiowl Attributes specific to class loggle-state has values show or hide (delauli is HIDE) Lull descπption button-pattern (width 22. height 22. dark- color = dim-srav. liεht-color = i Class name action-button Supeπor class button Attributes specific to class label: slate has values enabled or disabled. aetion-proe-name: Class rcstπcuons unless in administrator mode. selecting any action-button implies select: unless in administrator, developer, or modeler mode, non-menu choices exclude additionally: move-object Class name fude-sup-vvs-button Supenor class acuon-bution Attributes specific to class action-proc-name is HIDE-S L ' P-WS-CALLBACK. Icon description hide-sup- s-button-patien. TABLE 25 an user- enu-choice Label select Applicable clas.s acuon-bution Condition the state of the item is enabled Action start BUTTON-HANDLER-CALLBACK (the item, this window ι BUTTON-HANDLER-CALLBACK (button: class action-button, win : class window . start the procedure named by the aciion-proc-name ol button ( button, win), change the color-pattern ol button so that light-color is light-gray . dark-color is dim-gray . conclude that the toggle-state ol button is show: 11 button has a lace-color FC then chanec FC to erav TABLE 26 HIDE-SUP- WS-CALLBACK (button: class acuon-bution. win. class window ι button: or to WS: to minimum, it the user-mode ol win is not simulation then: ii OBJ is a biυprocess thetv change the status-color ot OBJ to slate-blue else ii OBJ is a biorescrvoir then change the status-color of OBJ to medium-aquamarine, ii the toggle-state ol OBJ is show then conclude that the h.__le-staic ol OBJ is hide. TABLE l. " - 1 Class name change-mode-button Superior class action-button Attributes specific to class action-proc-namc is CHANGI--MODK -CALLBACK . mode has values administrator, de eloper, modeler, explorer, simulation, default is MODELER Icon description change-modc-bution-paliern CHANGE-MODE-CALLBACK (button, class change-mode-button, win: class window ) mode = the mode ol button: call CHANGE-MODE-PROC ( mode, win): lor each ehange-mode-bulion B upon the workspace of button do change the eolor-pattem ol B so Uiat lace is lorcst-green: change the color-pattern l button so dial lace is green: return: CHANGE-MODE-PROC (mode: symbol, win : class window) it the text ot the g2-user-modc ot win /= "simulation" and mode is simulation then inform the operator that "The subworkspaces of all bioReservoirs and all bioProcesses will be deactivated": lor BR = each biorescrvoir do allow other processing: il tlie subworkspace ol BR exists then deactivate die subworkspace of BR: change the status-color icon- color of BR to aquamannc : inform the operator that "The subworkspaces ot all bioReserv irs have been deactivated": lor BP = each bioprocess do allow other pπx_ssιng: il the subworkspace of BP exists then deactivate the subworkspace ol BP: change the status-color icon-color of BP to aquamarine: lnlorni the operator dial "The subworkspaces ul all bioProcesses have been deactivated": else il the text ot the g2-user-mode of win = "simulation" and mode is not simulation then liilorm tlie operator that "The subworkspaces ol all bioReservoirs and all bioProcesses will be activated", lor BR = each bioreservoir do allow other processing: 11 die subworkspace of BR exists then activate the subworkspace ot BR. lnlorm the operator that "The subworkspaces ol all bioReservoirs have been activated": lor BP = each bioprocess do allow other processing: if the subworkspace of BP exists then activate the subworkspace of BP. inform the operator that "The subworkspaces ol all bioProcesses have been activated", case ( modc) ol administrator: change the lext ol the g2-user-mιxlc ol win 10 "administrator": developer- change the lext of the g2-uscr-mode ol win to "developer' . modeler change the texl of the g2-uscr-m.κlc ol win 10 "modeler": general : change the text ol the g2-user-mode ol win to "general": navigation change tlie text of the g2-user-modc ol win 10 "navigation ' . si ulation- chariuc the text ol the s 2 -user- mode ol win to " simulation ' 11 TABLE 2.S Class name path-tracer Superior class button Attributes specific to class none Class restrictions unless in administrator or developer mode: selecting any ^<path-tracer implies show Menu option not a final menu choice Icon description paih-tracer-patiem (width 14. height 21 ) Class name dovvn-paih-iraccr Superior class path-tracer Attributes specific lo class none Icon description down-paih-iracer-patteπ. Class name up-paUι-ιracer Superior class path-tracer Attributes specific lo class none Icon description up-padi-iraccr-pattern (width 14. height 20) Class name navig-paih-tracer Supeπor class paUi-tracer Attributes specific to class none Icon description up-paιh-tracer-patιem (width 14: height 20) TABLED an user-menu-choicc Label show- Applicable class path-tracer Condition none Action start PATH-TRACER-HANDLER-PROC ( the item. tins window) PATH-TRACER-HANDLER-PROC (tracer: class padi-tracer. win class window) il the toggle-state ol tracer is hide then it the subworkspace ol tracer exists then case the class ol tracer is up-path-tracer: call DRAW-UP-PATHWAY-PROC (tracer, win), down-path -tracer call DRAW-DOWN-PATHλVAY-PROC ( tracer, win), complex-down-path-tracer • call DRAW-COMPLEX-DOWN-PATHWAY-PROC (tracer, win): if the toggle-state of tracer is show then it the SW ol tracer exists then hide the SW ol tracer call CONFIGURE-TRACER-PROC (tracer, win), return CONFIGURE-TRACER-PROC (tracer: class tracer, w in class w indow ) case the toggle-state ot tracer is hide: change die color-pattern of tracer so that light-color is dim-gray. dark-color is light-gray . white-color = the symbol black, conclude dial die toggle-state ol tracer is show: show: change the color-pattern of tracer so dial light-color is light-gray . dark-color is dim-gray . white -color = die symbol white, conclude that the toggle-state ol tracer is hide, return /θO TABLE3 Class name lists-tracer Superior class button Attributes specific to class none Class restrictions unless in administrator or de eloper mode selecting any lists-tracer implies show non-menu choices exclude additionally move-object Menu option not a final menu choice Icon description lists-iracer-paitern (width 14. height 21) Class name bp -ehaininig-traecr Superior class hsLs-tracer Attributes specific to class none Icon description bp-chai g- tracer-pattern Class name br-cliaimnig-iracer Superior class lists-tracer Attributes specific to class none Icon description br-chaininig-tracer-paitem (widdi 14. height 20) Class name basal -densii -source-tracer Superior class lists-tracer Attributes specific to class none Icon description basal-density -sourcc-tracer-patiern (vv ιddι 4 heighl 24) Class name br-scroll-iraeer Superior class lists-tracer Attributes specific to class none Icon description br-chaininig-tracer-pattern (widdi 1 16: height 30) Class name query-tracer Superior class lists-tracer Attributes specific to class none Class restrictions unless m administrator or de eloper mode selecting any qucr raccr implies show non-menu choices exclude additionally move-object Icon description lists-iracer-pattem ( width 14. height 21) TABLE31 an user-menu -choice Label show Applicable class lists-tracer Condition none Action start LIST-TRACER-HANDLER-PROC (the item, this window ) LIST-TRACER-HANDLER-PROC (tracer class tracer win class w indow ) il the toggle-state ol tracer is hide then cascthe class ol tracer is bp-chaininig-traccr call BP-CHAINING-PROC (die bioprocess superior to the WS ol tracer w in) br-chaini g-tracer call BR-CHAINING-PROC (die biorcservoir superior to die WS ol tracer w in ) br-scroll-tracer call BR-SCROLL-PROC (tracer, win), else it the toggle-state ol tracer is show and die SW ot tracer exists then delete the subworkspace ol tracer call CONFIGURE-TRACER-PROC (tracer, win) return / _> / TABLE32 Class name graph-uacer Superior class button Attributes specific to class none Class restrictions when in simulation or eloper mode: selecting any grαph-ti accr implies show-plot. Menu option not a linal menu choice Icon description graph-trαcer-pattern ( w idth 14. height 20) Class name scaled-br-eraph-tracer Superior class graph-tracer Attributes speciiic to class none Icon descπption scaled-hr-graph-tracei-pattern (w idth 14. heieht 20) Class name absoluie-br- graph-it ucei Supenor class graph-tracer Attributes specific to class none Icon description absolute-br-eranh-lracer-pattcrn (width 14. hcι_h_ 21 ) Class name scaled-bp-graph-tracer Supeπor class graph-tracer Attπbutes specific to class none Icon description scaled-bp-eraph-traccr-pattern (width 14: heieht 20) TABLE 33 an user-menu -choice Label show-plot Applicable class graph-tracer Condition the user-mode ot this indow is simulation or the user- mode ol this window is eloper Action start TRANSF-GRAPH-TRACER-HANDLER-PROC ( the item, this window) TRANSF-GRAPH-TRACER-HANDLER-PROC ( ii acer class graph- tracer, win: class window ) il the toggle-state ol tracer is hide then: il the SW of tracer exists then make the SW ot tracer transient, delete the SW ol tracer, case the class ol tracer is scaled-br-eraph-tracer call SCALED-BR-TRANSF-GRAPH-PROC (tracer, win), scalcd-bp-eraph-tracer call SCALED-BP-TRANSF-GRAPH-PROC (tracer, win), absolutc-br-eraph-tracer call ABSOLUTE-BR-TRANSF-GRAPH-PROC (tracer. w in) else ii the toggle-state of tracer is show then delete the SW ot tracer: call CONFIGURE-TRACER-PROC (tiacei . w in ). return / O SL TABLE 34 Class name relerence-hlock Superior class bioiool Attnbuies specific 10 class id. w ith an index: short-ref is "" . vviih an index. unique-identifier, with an index. authoi -s is " Snuth AB. Moms AD title i " " . lnsuiuiion is "Depi. Institution. Country " . lournal is "Journal Full Name Ref. abstract is "" Class restπetioiis unless in administrator, developer, or modeler mode menu choices exclude additionally: transfer, name, i iate-reflect. change-size, disable, descπbe. attributes visible for cabe-reference exclude additionally: user-resiπeiions. names, id. selecting any cabe-reference implies table Aitnbuie isjil v s sl.υi i-iel oll ' set b ( 8. 14. Icon description leference-paiiem ( width 27: height 35 TABLE 35 Class name bio-ohiect-uile Superior class bioiool Attnbuies specific lo class label is " long. name of biomodel " Clas.s restrictions unless in administrator or developer mode: menu choices exclude additionally: delete, transfei . name, disable, describe, ereaie-subvvorkspaee Attribute display- lal .el otlset by ( -72. -7) Lou descnption bio-objeci-iiile-paiienn width 130. height 2) TABLE 36 MESSAGE DEFINITIONS Class name cabe-ieterence-niessage Superior class message Attributes specific to eiass ■ none Delauli message properties none Class name sequence-display Supenor class message Attributes speciiic lo class id. w ith an index, label i " " Default message properiies nuiumuni-vv iili is 100: is iranspareiii. background color is foreground TABLE 37 Class name entry-panel Superior class uil-iailored-dialog Attributes speciiic to class id is "". vviih an index: related-iiem is none: curreni-simulaiion-ume is given by an elapsed-simul-ume-par. eurren sιmulaiιon-iιnιe-ιι.eremen. is given by an elapsed-simul-iime-par Menu opium a final menu choice Inherited attributes several propπetary attnbuies Icon desenpiion entry-panel ( width 80. height 100: dark-color = dim-gray . light-color = light-gray, whit -color = w hile ) Class name query-panel Superior class uil-iailored-dialog .Attnbuies specific lo class id is " ". with an index, relaied-nem is none Inherited attributes sevei al proprietary attributes Icon desenpiion entr -panel ( w idth 80. height KX): dark-color = dim-gray , ii.hi-coloi = licht-crav. vvhiie-coloi = w hile ) 0 ^ TABLE 38 CONNECTION DEFINITIONS Class name p-connection Superior class connection Attnbutes specific to class none Inhented attnbuies none Cross section patieπi core = dun-srav . cover = sreen.l co er. 2 core. 1 cover Stub length 8 Class name r-connection Supenor class connection Attributes specific to class none Inhented attnbutes none Cross section pattern core = red. cover = dim-srav. 2 cov er. 2 core. 2 cover Stub lenadi 8 Class name model-box-connection Superior class connection Attnbutes specific to class none Inherited attnbutes none Cross section patieπi core = red. cover = sreen. 2 cover. 2 core Siub lenedi 8 Class name cv cle-padi Superior class connection Attnbuies specific to class Uiu-coell is given by a tau-coell-par. rate-constant is given by a cell-progression-rate-constant-par. progression-rate is given by a cell-progression-rate-pv ar Cross section paiteπi core = _rav . cover = sreen. 2 co er 6 core. 2 cover Siub lenedi 10 TABLE 39 Class name biopost Supeπor class connecuon-post Attπbutes specific lo class toggle-state has values show or hide (delauli is HIDE) Class restrictions unless in administrator or dev eloper mode attπbutes v isible exclude addiuonally superior-connection, toggle-state Menu option not a tinal menu choice TABLE 40 Class name bio-object Supenor class obiect Attnbutes specific to class label i "' . widi an index, descnption is "" Class restnctions unless in administrator, developer or modeler mode- menu-choices exclude additionally move-object, rouite-rellect Menu option not a final menu choice Icon descπpuon bio-object-paiieπi Class name bionυde-object Supeπor class bιo-ob|ecι Aitπbutes specific to class none Menu option not a final menu choice Icon descπpuon inhented Class name biov ievv -obiect Supeπor class bio-object Attπbutes specific to class relerences is "' w arnings is "' toggle-stale has values show or hide (delault is HIDE) Menu option not a final menu choice Icon descπpuon inhented l i TABLE 41 a + BioEntity li-sheet-domain Growth-laclor Helix-tuπi-lielix-domain 1 Simple-bioEntily EGF like . Protein-sue lg-lold-domain Ligand site lg-CHl -domain PDGF like Collagen-domain Calah tic site Fibronecun-type-III-domam Pepude hormone Tyr sue S uperbarre 1-domaιn 8-stranded-barrel-domaιn GH like Thr sue Insulin like Cy s site b Protein-mouf Leucin-zipper-mouf lsoprcnv lauon-site Zinc-finger-mυtil otif b Receptor Mvπsiov iuon-site Alpha-hehx-m Helix-tuπi-moul PTK Rep Protein-loss-ol-lunction-mutation L. strand-motif EGF R like Protein-gain-ol-lunction-muiauon EF-hand-mout EGF R Trcfoil-mouf HER-2/neu B Protein-mi xlilied-group Gree -key-moul erbB Loop-region-motil Tyr P- roup Ser P-group Signal-peptidc-mout PDGF R like Thr P-group Disulpliidc-bπdge Insulin R like Isoprenv lated-group 2 DNA-Component M πstov lated-group FGF R like a DNA-domain PSTK Rep PPase Rep Hematopoiciin R like G coupled R like IL8 R like Sieroid-receptors Receptor -complex PTK Rep comple v EGF R like complex EGF-EGF R EGF-HER-2/neu EGF-erbB PDGF R like complex PDGF- PDGF R CSF 1 -CSF1 RVtms Insulin R likceomplex Insulin-Insulin R IGF-IGF1 1 /£> _. Adhcsin B Nucleosome' tOf TABLE 42 Class name bioentilv Supenor class hioobjeel Attnbuies speciiic to class id is ' lelerenees is "". Class resiriciioiis unless in adnunislraior. or dev elopei mode menu choices exclude addiuonally g -io-subwoikspace. disable, descπbe. name, move vv hen in simulation, nav igation. 01 general mode menu choices loi bioeniii exclude additionallv transiet. clone, change-size, color, create-local. delete non-menu choices tor item exclude additionally move-objeci. mov e -connection, chck-io-edit Menu option not a final menu choice Inhei ueii attributes label is " . with an index descnption is "" Lυn descnption bioentity -pattern ivv idth MX), height 80 dark-coloi = dιm-gray . Iighi-color = light-gray , white-color = w hite, ty pe-color = purple, s utus-col r = πiedium-aquamanne TABLE 4^ Class name simple-bioeniitv Supenor class bioeniiiy Auπbuies speciiic lo class posiuon is "' . supeπor-bioentitv . w ith an index. Class restrictions vv hen in developer or modeler mode menu choices lor simple-bu -iiiity include additionally route-reflect Men. option I a final menu choice Class name protein-sue Superior class simple-bioentity Attributes s [ _cιtic to class none Menu option not a final menu choice Attribute display s position al standard position label oflsei by ( -10. 15 ) Stubs a link located at bottom 14 Icon desenpiion w idth 28 heieht 40 Class name ligand sue Supeπor class proiein-sue Afu ibutCs speciii. lo class none L u descnption ligand sne-paiieni ivv idth rι height 26 liπie-gieen) Class name ivr sue Superior class pnitein-sne Attributes s j ieciiic lo l s none Lou description iv r siie-paitern (w idth 28. height 40 green) Class name protein-modified-group Supeπor class simple-bioeniiiy Attnbutes specific lo class modifiei is "" Menu opium not a final menu choice Alinbuie displav s position al standard position label oftsei by (-30. 35 ) Stubs a link located al bottom 1 Icon description proiein-modified-group-patiern ( w idth 1 heighi 12) Clasx name gly isoprenv l linker Superior class proieiii-modified-gΛiup Attributes speciiic lo class none Slubs a link located al right 20 Lou desenpiion gly isoprenyl.linker-pattern ( w idih 66 height v iolen Class name ty r p-group Superior class proiein-modified-group Attnbuies s j vcil ic to clas none Siubs inheπied Icon desenpiion l t p-group-paiiem i w idth 10 heighi gieen i lol TABLE 44 Class name i on.plex-bjcK.mirv Supenor class bioentirv Atlnbutes sjieciiic lo class loggle-siaie has v alues s ow 01 hide (de'laul is HIDE) w rnings is masier-bioeniuv with an index Menu opuon noi a final menu choice Class name bioentity -component .uperioi class eomplex-biocnurv Aiinbuies speciiic lo class su j ierior-bioenuiy jxisuion is Class re_.tπciιons when in dev eloper or modeler mode menu choices tor biooniity -component include adduionallv roiaie-relleci Menu option not a final menu choice Class name membrane Superior class bioentity -component Attnbutes specific to class none Menu option not a final menu choice Lou descnption membrane-pattern ( w idth 20 heighi 110 Class name plasma-membrane Superior c lass membrane Attnbuies speciiic lo c lass none Icon description plasmu-memhraiie-pattem Class name protein-component Superior class bioeniiiy -component Attnbuies specific to clas none Menu option not a final menu c oice Attnbute displays label ottsel bv ( -45 -4 .1 Class name proiei n -domain Supenor class proiein-componeiu Aiinbuies speciiic lo clas none Aiiπbute displa s label olfsei bv ( -42. 16) position oit._t by ( -47 -25) Stubs a link located al ιo 4() a link located al πght 23 a link located at bottom 40 j link localed al lell 23 Lon desenpiion proiein-domam pattern ( w idth SO heishi 4 ( Si Cla name l ibroneciin rv pe Ill-domain Suj eπoi class protein-domain Aiinbuies speciiic to class none Lon des npiion libroneciiii-ty pe 111-domaιιι-patιern Class name dna-component Superior class bioenutv componeni Attnbutes speutic lo clas size is 0 BASE-PAIRS Menu option not a final menu choice Class name dna-mntil Sufieπor c lass diia-component Attnbuies specific lo clas position i Menu option a linal menu choice Stubs a link located al top 40 a link located al right 2 ' * a link located at bottom 40 a link located at letl 21 Lon desenpiion dna-domain pallein ( w idth 80 heiϋhi 4fs i Class name Suneπoi c lass dna-nioui Aiinbuies speciiic to i las none Lon desenpiion iaia-bo\ paiiern /o8 TABLE 45 Class name molecule Superior class complex-bioentny Attributes specific to class synonuns is "": in-species is " " . Hi-tissues is " ". ill-cells is " ": ιn-organelles is " " Menu opuon not a final menu choice Stubs a link located at top 50: a link located at nght 40: a link located at bottom 50: a link located at left 40 Class name protein Supenor class molecule Attributes specific to class cas-number is UO OO-00-0. with an index: number-amino-acids sequence is " ". mol- eight is 0 DALTONS. vviϋi an index: lsoelectnc-point is 0.0: Icon descnption protein-patteπi (width 100: height 80: dark-color = dim-gray, light-color = liglit- πiy. white-color = white, type-color = yellow. status-color = medium-aquamaπne. Class name enzyme Supenor class protein Attributes specific to class cas-number is "EC 0-0-0-000". with an index: substrates-mlo is "": inhibitors-info is "". Iisand-inlo is "" Menu opuon not a final menu choice Icon descnption enzyme-pattern (width 100: height 80: dark-color = dim-gray, light-color = light-gra . type-color = red. status-color = dark-gray: Class name p.tyr.kinase Superior class enzyme Attributes specific to class none Icon descnption p tyr.kinase-paitern ( type-color = coral) a p.tyr.kinase Names none Label Descnpuon kJ Tog le state hide Relerences Master bioenuty none Synonuns In species in tissues In cells In orsanelles Cas number "EC 0-0-0-000" Mol weight 0 DALTONS Isoelectnc point 0.0 Sequence Substrates info Inhibitors inlo Li sands into o TABLE 46 Class name bioenutv-noies Superior class bioiool Attnbuies specific to class label is "". with an index. toggle-suite has values show or hide (default is HIDE) Class restrictions unless in administrator or developer mode selecuns anv bioenutv-noies implies details Attnbute displays label offset by (-42. 20) Icon descπption bιι .ntity-notcs-pattem (width 74. heighi 48. dark-color = dim-crav . lisht-color = white-color = white. Class name image Supeπor class bioenuty-notes Attributes specific to class label is "". with an index. references is "". Icon description 1 unction notes- patieπi Class name mol sequence Superior class bioenut -notes Attπbutes specific to class label is "". with an index. lenght is "". description is "". references is "". id. wiϋi an index. uciion-proe-name is crb-go-io-subws. toggle-stale has values show or hide (delauli is HIDE) Icon descnption mol sequence-pattern Class name function notes Superior class bioenuiv-notes Attnbutes specific to class label is "". with an index relerences is "". Icon description function notes-pattern Class name relerence notes Superior class bioenuiy-notes Attributes specific to class none Icon desenpiion relerence notes-pattern Class name dendrogram Superior class bioenutv-noies Aiinbuies specific to class label is "Dendrogram references is "". comments is '" Icon descπption dendrogram-paiiem Kb TABLE 47 Class name biorcservoir Supenor class hioview -obieci Attnbutes specific to class rclcrences is given by a relercnccs-arra : compartment is "": rcl-biocntity is none: master-bioreservoir is none: status has values available, selected, sclecied-lor-inpui. sclccted-lor -output, down-selected, up-selected, lorw- aenvated. back-activated, downstream-activated, upstream- activated, or deactivated (delauli is AVAILABLE). decay-rate -lacioπs 2.0c-4: ll-scalin -biorcservoir is none: ll-scahng-amount is 100: scaled-basal-amount is 99e-9: phvsiol -abundance has values highest, abundant, steadv -state, low-induced, or only-induced ( " delault is ONLY-INDUCED) Capabilities and restrictions activatable-subworkspacc Class restrictions unless in administrator or developer mode: menu choices exclude additionally: go-io-sub vorkspace. clone: attributes visible exclude additionally : status: toggle-state, niaster-biorescrvoir. when in simulation, navigation or general mode, menu choices exclude additionally: move. name, color, delete, disable, change-size, create -subworkspace. transler. describe, clean -clone: non-menu choices exclude additionally: move-ob|ect: when in general mode: menu choices exclude additionally simul-panel. show-s. raph, lnde-s graph: attributes visible exclude additionally: decay-raιe-1 actor, scaled-basal-amount: il-scahng-bioreserv oir. lt-scalinc-amounl. when in navigation mode: selection of any biorcservoir implies details Menu option not a linal menu choice Aitribuie displays label ollsci by (-57. -30) Icon descπption bioreserv ir-paltem ( w idth 96: height 56. dark-color = dim-gray, light-color = light-gray . v nite-color = white, status-color = mediuni-aquamaπne. flag -color = mediuni-aquamaπne. type-color = palc-grccn. Class name hound-mol-rcservoir Supeπor class bioreservoir Atuibutcs speciiic to class normal-basal-dcnsity is 9.9c-99: physiol-max-density is 9.9e-99 Class name macr o-complc x-rc scrvoi r Supeπor class bound-mol-rescrvoir Attnbuies speciiic to class none Icon descnption mheπied Class name cell -receptor-reservoir Supenor class bound-mol -reservoir Attnbutes specific to class none Class name mcmbr-bound-rcscrvoir Supenor class hou nd - mol -re ser voir Attnbutes specific to class none /- TABLE 48 Class name sol-mol-reservoir Superior class biorcservoir Attributes specific to class normal-basal-concentration is 9.9e-99: physiol-ma -onccnirauon is 9.9e-99 Class name l nt-sol - mol -reservoir Supeπor class sol-mol-rcscrvoir Attributes specific to class none Class name ext-sol-mol-reservoir Supeπor class sol-mol-reservoir Attributes specific to class none Class name genei-niol-rcscrvoir Superior class biorescrvoir Attributes specific to class normal-basal-densiiy is 9.9e-99. physiol-max-density is 9 9e-99 Class name exp -cell-reservoir Superior class biorescrvoir Attributes specific to class normal-basal-concentration is 9.9e-99: physiol-max -concentration is 9.9e-99 Class name cell-reservoir Supeπor class biorescrvoir Attributes specific to class normal-basal-dcnsity is 9 9e-99: physiol-ma -density is 9 9e-99 Icon description cell-rcservoir-pattcπi (w idth 96: height 56. type-color = coral ι a cell-reservoir Names none Label Descπpuon Rclcrences Warnings Toggle stale hide Compartment Rel bioeniiiy none Master bioreservoir none / Λ TABLE 49 Class name biopool Superior class bioiu _e-obιecι Aiinbuies specific to class basal-densiiy is given by a basal -density-par: scaling -density is given by a scaling-density- par: ' densiiy-entry is given by a density-eniry-pvar: scaled-entr is given by a scaled-eniry-pvar: mput-raie is given by an input -rate-pvar; i uupui-raie is given by an output-rate-pvar: accumulation is given by an accum-pvar; density is given by a densiiy-pvar: scaieo-amouni is given by a scaled-aπiouni- pvar. Class restrictions unless in administrator or developer mode: menu choices exclude additionally: descπbe. rotaie-refiect. move, transfer when in simulation or explorer mode: menu choices exclude additionally: add-scaled-input. add-inpui. add-output. add-iop-post. add-bottom-posi: when in explorer mode: menu choices exclude additionally simul-panel: aiinbuies visible exclude additionally: basal-densiiy. density-entry, density Inherited aiinbuies label is "". wiϋi an index: desenpiion is " " Attribute displays lnpui-raie. output -rate, accumulation-rate, scaled-amount offset by ( 105. 20) Stubs an input-box -connection nip located at lop 8. a sealed-inpui-bo -connection sip located at lop 17; an output -box -connection oup located at bottom 15: a p-coniieciion p()l located at top 37; a p -connection p02 located at top 50: a p-connection p03 located at top 62. a p -connection p04 located at top 75. a -connection p()5 located at top 87: a p-connection p()6 located at top 100: a -connection p()7 located at top 1 12. a p -connection p08 located at lop 125. a p-coiineciion p09 located at lop 137. a p -connection plϋ located al lop 150: a -connection pi 1 located at lop 162. a p -connection pi 2 located at top 175; a r-connection rOl located at bottom 37: a r -connection r()2 located at bottom 50: a r -connection r()3 located at bottom 62: a r -connection r()4 located at bottom 75; a r -connection r05 located at bottom 87. a r -connection r()6 located at bottom 100: a r -connection r()7 located at bottom 1 1 . a r -connection r()8 located al bottom 125. a r-connection r()9 located at bottom 1 7. a r -connection rl() located at bottom 150: a r-conneciion rl 1 located at bottom 162. a r-connection rl 2 located at bottom 175 a graph-link s-plot located at lelt 1 1 : a graph-link a-plot located at left 31 : a graph-link lists located at right 1 1. a graph-link query located at right 1. Icon descπption biopool-paiiern ( idth 180: height 42. dark-color = dim-gray , light-color = light- gray. white -color = white, type-coio: = creen-vellovv //3 T.ABLE 50 Class name bouiid-niol-pool Superior class hinpool Attributes specific to _1; none Attribute displav s liilieπied Stubs inlieπted Icon description biopivil-paiteπi (width 1X0. height 42 dark-color = dim-gray , light-color = light- gray , hite-color = w hite, status-color = lorest-green. ivpe-color = medium-goldenrod) Class name cell -receptor-pool Superior class bound-mol-pool Attnbutes specific to class none Menu opuon a final menu choice Icon descnption cell-receptor-pool-patte Class name membr-bound-pool Supeπor class bound-mol-pool Attributes specific to class none Icon descnption membr-bound-pool -pattern Class name macro-comple -pool Superior class bound-mol-pool Attπbutes specific lo class none Icon descnption cell -receptor-pool-paiiern w idth ISO. height 42. ly pe -color = old) Class name soluble-mol-pool Superior class biopool Attributes specific to class basal-concenu-auon is given by a basaJ-eonc-par. concentration is given by a conc-pvar Attribute display s basal-concenirauon. concentrauon ollset by (80. 60). input-rate, output-rate, accumulation-rate, scaled-amount otiscl hv ( 105 20) Class name int-sol-mol-pool Supenor class soluble- ol-pixil Attnbuies specific to class none Icon description nii-sol-mol-pool-paileπi Class name ext-sol-mol-pool Superior class soluble-mol-pool Attnbuies specific to class consum -cell-div-laclor is giv en by a -lactor-pv ar Icon descnption exι-sol-mol-p >l-paiteπι ;ιn ext-sol-mol-pool Names none Label Descπpuon Compartment none Basal -density 9 9e-99 UPCE Sculing-density 99 999 UPCE Density -eiiirx 0 0 UPCE Scaled-entry 0 0 Input-rate 9 9e-99 Output-raie 9 9e-99 Accumulauon 9 9e-99 Density 9 9e-99 UPCE Scaled-amount 9 9e-9 Basal -concentrauon 9 9e-99 M Conceniraiion 9 9e-99 M onsu -cell -div -lactor 1 0 " . TABLE 51 Clas.s name genet- mol-pool Supeπor class biopool Attributes specific to class basal-amouni is given by a basal-quantity-par Stubs inhented Icon description genet-mol-pool-patteπi Class name exp-cell-pool Superior class biopool Attributes specific to class basal-concentration is given by a basal-cell-conc-par. amount-entry is given by a cell-density-eniry-pvar: density is given by a cell-density-pvar: concentration is given by a cell-conc-pvar Icon description exp -cell-pool-pattem Class name cell-pool Supeπor class biopool Attnbutes specific lo class basal-density is given by a basal-cell-densiiy-par: density -entry is given by a cell-density-eniry-pvar: density is given r>y a celi- density-pvar Icon desenpiion cell-pool-pattem TABLE 51 Class name biopool-post Supenor class biopost Attnbutes specific lo class id is "". ref-bioprocess is none Class resiπciions when in navigation or simulation mode: selecting any biopost implies show-bp. when in explorer mode: selecting any biopost implies activate-bp: when m developer or modeler mode: menu choices lor biopost exclude additionally: name. move, rolate-rellect. change-size, color, delete. descπbe. create-subworkspace. show-bp Icon descnption bιopool-pos--patteπι ( width 17: height 17) Class name biopool-r-post Superior class bioπool-post Attnbuies specific to cla.ss none Icon descnption bιopool-r-posι- pattern ( width 17. height 17 ) Class name biopool-p-post Superior class biopool-post Attnbuies specific to class none TABLE 53 Class name model-box Superior cla.ss bioiool Attnbuies specific to class toggle-state has values show or hide (delauli is HIDE) Class restnciions unless in administrator or developer mode: menu choices exclude additionally: move. name, change-size, color, describe, go-to-subworkspace. selecting any model-box implies show-sw Menu opuon not a final menu choice Icon descnption model-box-pattern Class name mput-model-box Superior class model-box Attnbuies specific 10 class none Stubs a p-connection located at right 10 Icon description input-model-box-patiern S" TABLE 54 Class name bioprocess Superior class biovie -obiect Aiinbuies specific to class compartment i "". suitus has v alues av ailable, selected selected- lor-mput. dow n-selected, up-selected lorw -activated, back-activated, downstream-activated, upsiream-activ ted. or deactivated (delauli is AVAILABLE). deactivaiion-hold-inter al is given by a ume- delay-par. masier-bioprocess is none Capabiliues and restrictions activ atable-subworkspace Class restrictions unless in administrator or developer mode menu choices exclude additionallv go-to- subworkspace. rotate-reflect change-size, clone: attributes visible exclude additionally toggle-state: master-bioprocess. w hen in general, nav igation, or simulauon mode, menu choices exclude additionallv transter move. name, color, delete, disable, describe, create-subworkspace. clone. labeled-clone, clean-clone, atuibutcs v isible exclude additionally notes, label. w hen in general or na igation mode attnbutes v lsible exclude additionally activ auon-hold-intenal. deactiv auon- hold-interval. hen in navigauon mode selecting any bioprocess implies details w hen m simulation mode menu choices exclude addiuonally up-path ay . down-pathway Menu option not a final menu choice Inhented attnbuies relerences is "" warnings i "". toggle-slate has v lues show or hide (delauli is HIDE), widi an index. label is "". w idi an index. desenpiion i "" Attnbute display s label ollset by ( -57. -10) Stubs none Icon description bioprocess-paitem (vvidϋi 96. heieht 56. dark -color = dim-gray , light-color = light-gray , white-color - hite status- color = slate-blue, type-color = slate- blue. Hag -color = medium-aquamarine //Cp TABLE 55 Class bioEngine Class Binding-bioEngine Class Receptor-bioEnginc Class bioengine.Rl .Ll Class bioengine.R2.L l Class bioengine.R l.Ll. AC1 Class bioenginc.Rl.Ll.AN l Class biocn_ine.R2.Ll.AC2 Class bioengιne.R2.L2.ANl Class Complex-Formation-bioEngine Class biocngine.U3 Class bioengine.U5 Class bioengine.U7 Class bioengine.KU3 Class bioengine.M lC3 Class bioengine.C3 Class DNA-Complex-Formation-bioEngine Class bioengine.DNA. U2 Class bioengine.DNA.U5 Class Conl ' orm-Changc-bioEngine Class bioen_.--_e.CAl.T2 Class Transport-bioEnginc Class bioenginc.EX l.L2 Class bioen_me.M2.EFl Class Amplifier-bioEngine Class Enzyme-bioEngine Class bioengine.El.S l Class bioengine.PK LS I Class bioengine.PP LS I Class bioengine.Pase l .S l Class bioengine.L l.Sl Class bk _ngιne.E LS2 Class bioengtne.E LS LI 1 Class bioengtne.E 1.S2.I 1 Class bioengine.El .S2.I2 Class bioengine.E3.S 1.11 Class Channel-bioEngine Class bioensine.CH l.IOl Class bioengine.CHl.lOl .L l Class IonPump-bioEnsine Class bioen-ine.PU l .IOl Class Lumped-bioEngine Class Complex-Dissoc-bioEnginc Class Translocation-bioEnginc Class Auto-Catalitic-bioEn_ine /<7 TABLE 56 Class name bioengme Supenor class bionode-obiect Attnbutes specific to class velocity: rate -constani-sec is 1.0: tau-coelt is given by a tau-coell-par: bias is given by a bias-par: lime-lag is given by a time-delay-par: ph is given by a ~ι_ ph-par. ph-devtaiion-facior is given by a ph-taetor-par: temperature is given by a temperature-par: temp-devιatιon-1 actor is given by a lemp- I actor-par: tocsle-statc has values show or hide (default Ts ' HIDE): type -color Capabilities and restπclions none Class restrictions unless in administrator, developer, or modeler mode: menu choices exclude additionally: move. name, clone, change- size, color, delete, disable, enable, crcate- subworkspace. descπbc. go-io-subworkspace. creatc-sw. when in modeler mode: menu choices exclude additionally: move. name, disable, enable, crcate-subworkspacc. descπbe. go-to- subworkspace: unless in administrator or developer mode: attributes visible for bioengme exclude additionally: toggle-state, type-color when in simulation or explorer, mode: attributes visible for bioengme exclude additionally: notes, label: Menu option not a final menu choice Inhented attributes label is "". with an index: description is "" Attribute displavs velocity oflsct by (58. 5) Stubs a r-connection pon-1 located at top 25: a r-connection poπ-2 located at lop 50: a r-conneciion pon-3 located at top 75: a p -connection pi located al bottom 25. a -connection p2 located al bottom 50. a p-conneciion p.l located at boito 75. a c-graph-link gr located al lelt 1 1 : a c-grapn-link fs located at lelt 31 . a c-graph-link up located at right 1 1 . a c-graph-link dn located at right 31 Icon descnption bioengine-pattern (width 86: height 42: dark-color = dim-gray, light-color = light- gray, white-color = white, t pe-coioi - ϊorest-erecn Class name binding-biocngine Supenor class bioengme Attnbutes specific to class velocity is given by a binding-rate-pvar Menu option noi a final menu choice Class name amphlier-bioengine Supeπor class bioengme Aiinbuies specific to class none Menu option not a final menu choice Class name lumped-bii _ngιne Supeπor class bioensinc Atuibutcs specific lo class none //_? TABLE 57 Class name reccptor-bioengine Superior class binding-bioenginc Attributes specific to class none Menu option not a final menu choice Icon description receplor-bioengine-pattern Class name bioengine.rl.i l Superior class reccptor-bioengine Attributes specific to class none Stubs a re -connection port- 1 located at top 25 : a l-connection 11 located at top 50: a p-connection pi located at bottom 50: a c-graph-link gr located at left 11 : a c-graph-link Is located at left 31 : a c-graph-link up located at right 1 1 : a c-graph-link dn located at right 31 Class name enzyme-bioengine Superior class amp! i fi er-bioengine Attributes specific to class velocity is given by a catalytie-rate-pvar Icon description enzyme-biocn ine-paitern Class name bioenginc.el.s2 Superior class enzyme-bioenginc Attributes specific to class none Stubs an e-connection port- 1 located at top 25 a s-connection si located at top 50: a s-connection s2 located al top 75: a p -connection pi located at bottom 25 a p-connection p2 located at bottom 50 a p-connection p3 located at botto 75 a c-graph-link sr located at left 1 1 : a c-graph-link fs located at left 1: a c-graph-link up located al right 1 1 : a c-graph-link dn located at right 31 Class name coniplex-dissoc-biocnginc Superior class lumped-bioengine Attributes specific to clas.s velocity is given by a dissociaiion-rate-pvar Stubs a co- connection c I located at top 25 : a p-connection pi located al bottom 25: a p-connection p2 located at bottom 50: a p-connection p3 located at bottom 75: a c-graph-link gr located al left 1 1 : a c-graph-link Ts located at left 31 : a c-graph-link up located at right 1 1 : a c-graph-link dn located ai right 31 Icon description corhplex-dissoc-bioengiπe-pattem Class name translocation-bioengine Superior class lumped-bioengine Attributes specific to class velocity is given by a tranloeation -rate-pvar Stubs a ι-coruιection 11 located at top 25: a p -connection p2 located at bottom 25: a c-graph-link gr located al left 1 1 : a c-graph-link Is located at left 31 : a c-graph-link up located at right 1 1 : a c-graph-link dn located at right 31 Icon description translocaiion-biocngine-paitern TABLE 58 Class name ccll-bioengine Superior class bioengme Attributes specific to class velocity is given b\ an acuvauon-rate-pvar Stubs a cell-connection ce located at top 25. a 1-connectιon 11 located at top 50. a 1-connectιon 12 located at top 75. a p-connecuon pi located at bottom 25. a p-connecuon p2 located at bottom 50. a p-connecuon p3 located at bottom 75. a graph-link gr located at left 1 1. a graph-link \s located al left 31. a graph-link up located at πght 1 1. a graph-link dn located at πght 31 Icon descπpuon cell-bioengine-patiem Class name bioengine.ee 1.14 Superior class cell-bioengme Attributes specific to class none Stubs a cell-connection eel located at top 25. a 1-connectιon 11 located at top 50. a 1-connectιon 12 located at top 75. a 1-connecuon 13 located at top KX). a l-connecuon 14 located at top 125. a p-connecuon pi located at bottom 25. a p-connecuon p2 located at bottom 50. a p-connecuon p3 located aι bottom 75 a p-connecuon p4 legated at bottom KX). a p-connecuon p5 located at bottom 125. a c-graph-link gr located at left 1 1. a c-graph-link Is located at lelt 31. a c-graph-link up located at πght 1 1. a c-graph-link dn located at right 31 Icon desenpuon bioengine. e 1.14-pattern Class name bioengme ce3.12 Superior class cell-bioengine Aiinbuies specific to class none Stubs a cell-connection eel located at top 25. a cell-connection ce2 located at top 50 a cell -connect ion ce3 located at top 75. a l-connecuon 11 located at top KX). a l-connecuon 12 located at top 125. a p-connecuon pi located at bottom 25. a p-connecuon p2 located at bottom 50. a p-connecuon p3 located at bottom 75. a p-conncction p4 located _t bottom KX). a p-connection p5 located at bottom 125. Λ c-graph -link gr located at lelt 1 1. a c-graph-link Ts located at left 31 . a c-graph-hnk up located at right 1 1 a c-graph-link dn located at right 31 Icon descnption bioengme eel 14-pattern /aε> TABLE 59 Cla.ss name bιorolc-ob|Cct Supeπor class bi -obiect Aiinbuies specific to class sioichiometnc-c_x.ll is 1.0 Capabilities and rcstπctions none Class restπcuons unless in administrator, or developer mode: menu choices lor biorole- ob|ect exclude additionally: move, change-size, desenbe. create- subvvorkspace. go-to-subworkspace. rotate-rellect. clone, name: when in simulation, navigation, or general m.xle: menu choices tor biorole- obiect exclude addiuonally. transier. move. name, clone, change-size, color, ercate-subworkspace. delete, disable, describe, go-to-subworkspace: attributes visible lor biorole-obiect exclude additionally: notes, label. when in simulation mode: menu choices lor biorole-obiect exclude additionally : details, navig-panel. when in navigation or general mode menu choices tor biorole-obiect exclude addiuonally. input-panel: Menu option a final menu choice Inherited attributes label is "". with an index. description is "" Attnbute displays inhented Stubs none Icon description biorole -.b|cct-paucrn (widlh KM), height 40. dark-color = dιm-gra\. light-color = light- gray, type-color = sky-blue, white-color = white i TABLE 60 Class name bioproduct Superior class bιorolc-ob)ect Attributes specific lo class production-rale is given b\ a pπxluc-ratc- pvar: seal ing- precursors is an instance ol a s mbol-array , with an index Menu opuon a final menu choice Attnbute displays label oltset by (-55. -22). production-rate oil set by (-42. 1 ) Stubs a p-connection kx:atcd at top 3< ) icon descπption bioproduci-pattern Class name cell bioproduct Superior class biopnxluci Attributes specific to class none Icon description hioproduct-paiiem a cell.bioproduct Names none Label " ccll.bioproduei " Descπption Stoichiometπe coell 1 () Pnxlucuon rate 9 9c-99 Scaling precursors a c-s nibol-arrav =_?/ TABLE 61 Class name bioreactani Superior class biorole-obiect Attributes specific lo class descnption is "": alpha-coeff is given by an alpha-coeff-par: contribution is given by a contribuiion-pvar: consumption-rate is given by a consum-raie-pvar Capability.-, aad -restnc m. . — - — s - trs- le_lllLUιιιn. 1UJ1IC ■ — Menu opuon not a final menu choice Inherited attributes sioiehiometπc -coeff is 1 : label is "". with an index Attribute displays label offset by (-62, 35): contribution offset by (-42. 14). consumption-rate offset by ( -42. 0) Sωr -none- Icon description inhented - _• Class name cell.bioreactant Superior class bioreactani Attributes specific lo class none Stubs a cell-connection located al bottom 30 Icon description cell.bioreaciant-pattem TABLE 62 Class name aniplifier-biorcaciani Superior class bioreactani Attributes specific to class effeciive-binding-sites is Menu opuon not a final menu choice Attribute displays inherited Stubs inherited Icon description inherited Class name enzyme.r Superior class aniplifier-biorcaciani Attributes specific to class catalyiie-raie -constant is 1.0. scaled-eai-rate.k is 1.0. Stubs an e-conneclion located at bottom 30 Icon description biorcactant- pattern (width 100. height 40: dark-color = dim-gray, light-color = light- gray, ty pe-color = red. hite-color = while ) Class name prot.kinase.r Supeπor class enzyme.r Attnbuies specific to class none Stubs inherited Icon description bioreaciani-pattcrn (width 100. height 40: dark-color = dim-gray, light-color = light- gray, type-color = coral, hite-color = white) a prot.kinase.r Names none Label prot. kinase ' Description Sioichiomeiπc coctl 1.0 Alpha coeff 1.0 Contribution 9.9e-99 Consumption rate 9.9e-99 Ellective binding sues 1.0 catalytic -raie-coiistam 1.0 scaled-eai-rate.k 1.0 / -2 . 2s TABLE 6. Class name sourcc-bioreactani Superior class bioreactani Attributes specific to class none Menu option not a final menu choice Class name substrate. r Superior class source-bioreactant Attributes specific to class michaelis-constant is 9.9e-99 Stubs a s-connection si located at bottom 30 Icon description substrate.r-pattern Class name leading-bioreactant Superior class bioreactant Attributes specific to class elϊective-binding-sites is 1 Icon description leading-bioreactant-paiiern Class name cell-receptor.r Superior class leading-biorcact nt Attributes specific to class none Stubs a rc-connection r located at bottom 30 Icon description cell-receptor.r-paitern Class name binding-biorcactani Superior class bioreactant Attributes specific lo class equilibrium-dissociation-constant is 9.9e-99 scaled -equil.dissoc.k is 1.0 Menu option not a final menu choice Class name ligand.r Superior class binding-bioreactant Attributes specific to class none Stubs a 1-connecιion 11 located at bottom 30 Icon description ligand. r-pattern Class name extracell-ligand.i Superior class binding-bioreactant Attributes specific to class none Stubs a 1-connection 11 located at bottom 30 Icon description bioreactant-pattem (width 100: height 40: dark-color = dim-gray, light-color = light- gray, type-color = pale-green, white-color = white) an extraccll-licand.i /<33 TABLE 64 Class name siii le-bioreactani Superior class bioreactani Attnbutes specific to class none Menu option noi a final menu choice Class name transit _ated r Superior class Miigle-bioreaciant Attnbutes specific to class none Stubs a t-connection located at bottom 30 Icon descπpuon translocated r-pattern Class name complex r Supeπor class single-bioreactant Attnbuies specific to class none Stubs a co-connection u 1 located al bottom 10 Icon descnpuon translocated.r-paitem Class name inhibitor bioreactant Superior class bioreactani Atuibutes specific to class inhibiuon-consuiiil is 9 9e-99. scaled-inhibitor k is 1 0 Stubs an i-connecuon 11 located at bouom 10 Icon description inhibitor bioreactaiu-patieπi Class name com p- inhibitor r Superior class inhibitor bioreactani Attributes specific to class none Icon descnpuon comp-inhibitor r-paliern Class name antagonist r Supeπor class inhibitor bioreactani Attnbutes specific to class none Stubs an an-coiinecuon an l located at bottom 30 Icon descnpuon antagonist r-patiern TABLE 65 Class name biorole-posi Superior class biopost Attπbutes specific lo class rel -biorcser oir is none Class restrictions unless in administrator or developer mode menu choices exclude additionallv move clone delete rotaie-rellect. color, describe create-subw orkspace. w hen in modeler mode menu choices include additionallv delete. menu choices exclude additionallv s ow -br. when in nav igauon or simulation mode selecun any bioposi implies show -br. when in explorer mode selecung any biopost implies activ ate-br Inherited atuibutes toggle-stale has values show or hide (delauli is HIDE) Stubs a icon- w ire located at right 7 w ith si le diagonal Icon descπpuon biorole-post-paliern ( w idth 8. height 16) Class name bioreactani-post Supenor class biorole-posi Attributes specific to class none Stubs a icon-wire located al πght 7 Icon descπpuon bioreactani-posi-patlcπi ( widlli 8. hei.lil 16) Class name hioproduei-pυst Superior class biorole-post Aiinbuies specific to class none Stubs a icon-w ire located at lelt 7 Icon descnpuon bioproduct-posi-paiicπi ( w idth 8 hei-ln .6) / -.** • TABLE £> _> Class name biomodel Superior class bioview -object Attributes specific lo class none Class rcstπctions unless in administrator, uil-build. or developer mode: menu choices for biomodel exclude additionally: change-size: attributes visible for biomodel exclude additionally: toggle-state: when in simulation, navigation, or explorer mode: selecting any biomodel implies details Menu option not a final menu choice Inherited attnbutes relerences is "": warnings is "": toaεle-state has values show or hide (default Is ' HIDE): label is "". with an index: descπption is "" Attribute displays inherited Stubs inhented Icon descnpuon biomodel -pattern (width KX): height KX): dark-color = dim-gray, light-color = lighi- . white-color = white) Class name sub-model Superior class biomodel Attributes specific to class none Menu option a final menu choice Inhented attributes relerences is ""; warnings is "": toggle-state has values show or hide (default is HIDE), with an index: label is "". with an index: descπption is "" Attnbute displavs label offset by (-73. 15) Stubs inhented Icon descnption sub-modcl-pattcrn (width 1 0: height 60: dark-color = dim-gray, light-color = light- gray, white-color = white, status-color = medium-aquamaπnc. flag-color = medium - aquamarine: Class name bioreservoir-bin Supeπor class biomodel Attributes specific to class none Menu option a final menu choice Icon description bioreservoir-bin-pattern (width KM): height 60: dark-color = dim-gray, light-color = light-gray, white-color = white, type-color = crav. status-color = cadet-blue: Class name on-hold-bin Superior class biomodel Attributes specific to class none Capabilities and rcstnctions activatable-subworkspace Menu option a final menu choice Icon descnption on-hold-bin-pattern (width 50: height 60: dark-color = dim-gray, light-color = light- gray, while-color = while, status-color = -rcen-vcllow : /< > TABLE 67 Class iianie cc'll-compaπnieni Supenυi class biomodel Auπbuι_s Specific l cl ss suilace-oi-voluπie is given bv a compartment-volume-pai Lon ilc'sciipnon cell-conipanmeni-paiieπi (vvulih 90 height 90 daik-color. lι_hι-e loι. vhiic-coloi ) Class name cell-surtace Supeπoi class cell-coπipaπmcni Aiinbuies specific lo class lniemal-markers is Capabilities and ι_sm_tιons none Menu opuon a final menu choice lcOll d'scliplli ec'll-sui face-paUem ( vv idlh 110 i-i_lιt 200 staius-color. flae -color Class name nucleus Supenor class cell-compartment Attnbuies specific to cla s none Menu option a final menu choice Lon descnpuon nucleus-paiiein ( idth 90 height 90 siaius-eolor flasi-coloi) Class name cc'll-nx-'mbrane Supenoi class eell-companmeni Aiinbuies speciiic lo class none Menu opuon a filial menu choice Icon desenpiion cc'11-nιenιbιjιιe-paιtern ivvidth 90 hei'.lu 90 siaius-coloi . fia_-eoloι > Cla s name niembi aiie-eonipariniem Supenoi class cell-membrane Attnbutes specific lo none Menu option a filial menu choice kon descnpuon πienibrane-conipaitnieni-patiein (width 90 height 90 staius-coloi. lias-color) TABLE 6S Class iijme top-coniainer Supenoi class biomodel Aiinbuies specific lo cl s v lume is given bv a .ompaiimeni volume pai Menu opuon noi a linal menu choice Inheiiied attnbuies relerences is warnings is loggle-siate has values show or hide (delauli is HlDl-i label is . vviih an index desenpiion is Class name cell-bioπiodel Supenoi class lop-container Aiuibuics specilis ι da> n.avvolunie is given bv a cell volume-par volume is given bv a cell-voluπie-par cell-radius is given bv a cell-iadius-par species is orgaii-or-s ste is ' tissue is cell-lineage phenoiy pe is cell-cV le-duialion ι> given bv a cvcle ume-pvai reg-Iaciors is e\pr-reeepιors is loial-pioiein is given bv a total pi iem-par geneiaiion-uumbei is given bv a eeiieiation-nuπiber-par nuniber-oi-eells is given bv a cell number-pai niass-pei-eell is given bv a cell iass-pai cell-phase is GO Altribuie displav - label oflsel bv (-SS. -S2. Lon desenpiion ccll-bioπioiiel-paiieni (widtli 100 heiahi 100 daik-coio hghl-color whiie-coloi ivpc color sιaιu>-coloι ' Λ^ TABLE 69 o Class name time-cOmpanmeni Superior class biomodel Attributes specific to class iiex l-aci iv alion-block: deacuvation-block. acuvation-hold-intcrval is given by a iιme-delay-p;ιr. deacuvauon-ume is "". deacuvauon-liold-interval is given by a ume-delay-par. status has values acuvated or deactivated (default is DEACTIVATED) Capabiliues and restnclions activ aiable subworkspace Menu option not a final menu choice Stubs an output cycle-padi ιιext-1 located at right 40. an input cycle-padi previous- 1 located at lelt 40 Icon descnpuon ume-compartment-pattem < vv iddi 80. height 80. dark-color, haht-color. white-color) Class name time-submodel Superior class ume-compartmeni Attributes specific lo class none Stubs an output cycle-path next- 1 located at bottom 80: an input cycle-path previous lixatcd at top 80 Icon descπption time-submodel-pattern (w idth 160. height 60. siatus-color. lias-color) Class name cell-phase Supeπor class ume-compartmeni Attributes specific to class typical-lracuon. geiieraiion-number is given by a gcneration-number-par. number-o! -cells is given by a cell-number-par. mass-per -cell is given by a cell-mass-par Menu option not a final menu choice Icon descπption cell-phase-patteπi (w idth 80. height 80) Class name gO-phase Superior class cell-pliase Atuibutes specific lo class none Stubs an output cycle-paϋi g 1 located at bottom 20. an input cycle-pad) in located al right 60. an input cycle-path di located at lelt 40 Icon descnpuon gO-phase-paiieπi (width 160. height 80. siatus-color. ty pe-color. Ilag-color) TABLE ; ■ £_ _,*__. Class name umer Superior class bioiool Attnbutes specific lo class loggle-state has values show or hide (default is HIDE). activation-umc is given by an elapscd-simul-ume-par Class resiπcuons unless in administrator or uil-build mode- menu choices for umer exclude additionally: move. name. change-si7e. color, descπbe. go-to-subworkspacc. when in mixleler. simulauon. navigation, or explorer mode menu choices lor timer include: creale-sw . show - sw . hide-s on descnpuon umer-paiiem ( iddi 30. height 30). dark -color, light-color. Class name couni-dow n -timer Superior class timer Aunbutes specific to class count-down is given by a umer-count-dovvn-par Class name count-up-iimer Superior class umer Aiinbuies specific lo class count-up is given by a umer-count-up-par ι r TABLE 70 Class name biomodel-posi Superior class biopost Attributes specific to class rct-hioπu icl is "inlerred" Class restrictions when in navigation oi simulaύon mode, selecting any biomodel-post implies show-bm Icon descnpuon biomodel-posi-patieπi (w idth 25: height 35 ) Class na e outpui-hm-posi Superior class biomodel-post Aiinbuies specific lo class none an user-meiiu-choice Label show -bm Applicable class biomodel-post Condition none Acuon start SHOW-BM-PROC (the item, dus w indow) SHOW-BM-PROC (post class biomodel-posi . wur class window i BM = the biomodel named by the lel-hiomodel ol post, case die toggle-slate ol post is show ■ change the color-paliern ol post so dial light-color is dim-gray . dark-color is light-gray . show the WS ol B on in at die center ol die screen, conclude that the toggle-state ol post is hide, chance die color-paliern ol post so that lamp = the svmbol maroon, change die color-paiteπi ol post so dun light-color is light-gray , dark-color is dim-gray . hide the WS ol BM on vv in. conclude that the toggle-state ol post is show . cnange tlie color-paitern ol posi so that lamp = die sy mbol green, return TABLE 7| Class name cell-interaction Supenor class biomodel Aiinbuies specific to class none Inherited aunbutes relerences i "". warnings is "". toggle-state has v alues show or hide (delauli is HIDE), label is "". ith an index, descπption i "" Icon description ccll-uilcraeiion-palu.ni ( width 140. height 100. dark-color, light-color, w hite-color, ly pe-color- l . iy pe-color-2. siaius-color- 1. s itus-color-2 ι Class name inieraciing-cell Supeπor class biomodel Aunbutes specific to class niasier-cell-bioniodel is none Class icsti ictions unless in adminisuaior or de eloper mode menu choice's exclude addiuonally deuitls. move. name, disable, describe. attnbuies v lsible exclude additionally notes, toggle-siaie. names, when in simulaiion. navigation, or explorer mode selecting any inieraciing-cell implies master-details Attribute displays label ollset by ( -55. -52 ) " Slubs a c-link locaied at right 10: a c-link located at right 30. a c-link located at right 50. a c-link located at right 70. a e-link located al πglu 90. a c-link locaied al boitoni 30. a c-link located at bottom 70. c-link locaied at letl 10. ,ι c-link •located at letl 30. c-link located at lelt 50. a c-link locaied at lelt 70. c-link located at Iell 0. a c-hnk located at top 20. Λ c-link locaied at lop 80 on description inteiacting-ccll-paiiern i w idth 100. hei-lιι 100. dark-color, light-color ite-color, ty pe-color, sialus-color i '5,_r TABLE 72a Clas.s name extracellular-component Superior class biopost Attributes specific lo class label is "": ret-bioentity is none: rel -biorescrvoir is none: rel -bioprocess is none: descnpuon is "" Class rcstπciions unless in administrator or developer mode: menu choices exclude addiuonally : rotaie-rcflecl. disable, descπbe. create-subworkspace: hen in modeler or general mode: menu choices exclude additionally: show-bp. show-br: when in simulation or navigation mode: menu choices exclude additionally: bp-activation. br- activation, when in simulation, navigation, or general mode: menu choices exclude addιιιonally:deleιe. move. name, clone, change-size, color, uruianic-it. set-rels. attnbuies visible exclude additionally.names. rel -biorescrvoir. rcl-bioprocess. rel-bioenuty Menu opuon not a final menu choice Attribute displays label ot f set by (-60. 6) Stubs a link located at right 10: a link located at letl 10 Icon description exuacellular-componcnt-paiiern (width 120: height 20: white-color - white) Class name suriacc-coninoncnl Superior class extracellular-component Aiuibuies specific lo class surtacc -cxpression-into is "" Icon descnpuon surtacc-component-pauem (widlh 1 0. height 20: whuc-color = white) Clas.s name secrete -component Superior class extracellular-component Attnbuies specific to class sccreiion-info is "" Icon description sccreicd-coii.poneni-paiicrn (width 120: height 20: white-color = whne) Class name systemic-component Superior class extracellular -coinponcni Aiinbuies specific to class none Icon description sy .icmic -coniponeni-paiteπi (width 120: heighi 20. hite-color = while i TABLE 72b an user-menu -choice Label set-rets Applicable class extracellular -component Condition the item has a name Action start EXTRACELL-COMP-SET-REFS-PROC (ihe item, this window i EXTRACELL-COMP-SET-REFS-PROC (post: class extracellular- component. W class indow > PP = the biopool-post named by the name ol post: BR = ihe biorescrvoir supenor to die workspace of PP: RP = die biorole-post named by die name ol post. BP = ihe bioprocess superior lo die workspace ol RP: conclude that die rei-bioreservoir ol post = the name of BR: conclude that die rel -bioprocess ol post = the name ol BP. if the rel-bκ icntity ol BR is not none then conclude Uiai ihe ref-hioentity ol post = the rel-biocniiiy ol BR. make post permanent: /_3-7 TABLE 72c an user-menu-choice Label show-bp Applicable class exiracellular-componeiii Coiidiuon die item has a name and die re I -bioprocess of the item is not none Acuon sum EXTRACELL-COMP-SHOW-BP-PROC (the item, this window ) EXTRACELL-C()MP-SH()\V-BP-PROC (post: clas.s extracellular-component . W • class window ) BP = die bioprocess named by the rel -bioprocess ol post: view = the subworkspace of BP chance die size of view to minimum, show view on \V 100 units above die center of die screen. TABLE 72d an user-menu-choice Label show-br Applicable class extracellular-component Condiuon the item has a name and die ref-bioreservoir of Acuon suirt EXTRACELL-COMP-SHOW-BR-PROC (die item, dπs window) EXTRACELL-COMP-SHOW-BR-PROC (post: class exiracellular-componeiii. W: class window ) BR = die biorcservoir named by die re I -biorescrvoir ol post: iew = the subworkspace ol BP change the si e ol view 10 minimum, show view on W 100 units below the center ol die screen. TABLE 72e an user-menu-choice Label bioentity Applicable class extracellular-component Condiuon die ret-bioenuiv ol ihe item is not none Acuon stan EXTRACELL-COMP-B10ENT1TY-PROC (tlieitem. dns window ) EXTRACELL-COMP-BIOENTITY-PROC (EC. class extracellular- componenL W- class w indow . BET = the bioenntv named by die ref-bioentity of EC . ESW = the subw rkspace oi BET. 11 the toggle-state ol EC is hide ilien: conclude dial die to.__le-.suue ol EC is show . change die si/e of ESW to minimum. show ESW on W al die center ol die screen, else il the loccle-suue ol EC is show then conclude that the logglc-siaie ol EC is hide. TABLE 721 an user-menu-choice Label unname-it Applicable class extracellular-componeni Condiuon the item has a name Acuon suirt EXTRACELL-COMP-REMOVE-NAME-PROC (die uem. dns w indow ι EXTRACELL-COMP-REMOVE-NAME-PROC (post cla.ss biorole-nosL W class window i BP = the bioprocess superior lo die orkspace ol post. it diere exists a biopool connected to posi dien BR = die biorcservoir superior lo die w rkspace ol die biopool connected to post: if there is a hiopool-posi named by die name ol post dien PP = the biopool-posi named by the name ol post, change the rel-bioprocess ol PP to "none", make PP permanent: change die rel-bioreservoir ol posi to "none " , change the names ol post to ' none' . make post permanent. /BO TABLE 73 Class name organ Superior class biomodel Attributes specific to class none Menu option not a final menu choice Icon description organ-pattern (width 140: height 100. type-color, status-color ) Class name ly mph-node Superior class organ Attributes specific to class icrp.ed4p.cd8n is given by a phenotype-par: lcrp.cd4n.cd8p is gi en by a phenoiypc-par: oiher-phenotypes Menu opuon a final menu choice Icon description lymph -node-paticrn Class name organ-region Superior class biomodel Aunbutes specific to class none Menu option not a final menu choice Icon description organ-rcgion-pattcm Class name dilterentialion-paϋiwa Superior class biomodel Aunbutes specific to class none Icon descnpuon dillcrcnuaiioii-paihw ay -patieπi (w idth 100. height 120. dark-color. Iichl-color. white-color ) Class name cell Superior class biomodel Aunbutes specific to class m-tissucs is "": Attribute displays label ollsct by (35. 30) Stubs a c-link located at lop 40. a c-link located at boiiom 20. a c-link located al bottom 40. a c-link locaied al bottom 60 Icon description ccll-pattcπi (width SO: height 80 dark-color, lisht -color. Iineacc -color) TABLE 74 /SI BM-CONTA1NED-IN A-DOWN-Bl RhSERVOIR -OF a relaiion First class biomodel hirst class biore ervoir Second class biomodel Second class bioproeess Relation name- b -contained- in Relaiion name j-clovv n-bιoιescι v ou -ol lnvei.sc ol relaiion ihe-coiuainer-ol-bm Inverse ol relaiion an-up-bιoproιess-ol T pe ol relaiion many -to-many Type ol relation maiiy-lo- any Relation is svmm.iric ' no Relaiion is s mmeiric ; no THE-NAVIGATED-BM-OF a lelalion A-DOWN-BK JPROCESS-OF. a relaiion First class biomiκiel First cl ss bioprocess Second class entry -panel Second clas-. bioreserv ir Relaiion name ihe-nav i aled-bm-ol Relaiion name -dow n-biopiixess-ot Inverse ot relation the -nav lgalion-cntry -panel . --bin Inverse ol relaiion an-up-bioreserv oir-ol T pe ol relaiion one-to-one Ty e ol relaiion man -lo- many Relaiion is svmmeme : no Relation i- symmetric ' no THE- U SBR-LIST-OF. a relaiion A-DOWNSTRbΛM-BIOPKOCESS-OF. a relaiion First class bioreservoirs-h- First class Second class entry -panel Second cl ss Relation name ιhe-usbr-lisi-ol Relation name Inverse ol relation none Inveise ol relaiion Type ol relation one-to-one Type ol relaiion Relation is ' no Relation is svmmeir.e' no THE-DSBR-L1ST-OF a relation A-DOWNSTRhAM-BIORbSERVOIR-OF a relation First class biorescrvoirs-iis Firsi class biorescr oir Second class entr -nanel Second class biorcservoir Relaiion name ihe-ϊisbr-lisi-o. Relaiion name j-ilo n-aic-jm-bioreservoir-ol Inverse ol relaiion none Inveise ol -lalion an-upsiieam-bioiescrv ii-ol T pe ol relaiion one-to-one- Type ol relaiion manv-io-many Relaiion is s mmeiric no Relaiion is : no L'SBP-LIST OF. aielalion THh-l_>θ\.VNSTRF.AM-BIORF.SERVOIRS-UST-OF First class bioprocesses-lisi a relation Second class entr -panel First class Relaiion name lhe-Usbp-lisi-ol Second class bioreserv u In erse ol relation none Relaiion nam tlιe-dov ιisiream-bιoreser ιrs-lisi-ol Type ol relation one-to-one Inveise ol lelation none Relation is s\ mmeiric ' no Type ol telation one-to-one Relaiion is no THF-DSBP-1.1ST-OF a relaiion First class bioprocesses-lisi THE-IX >Vv NSTRhAM-BK >PR < >CF.SSF.S-LIST-< ) F Second class enir -panel Firsi class bioprocessc's-lisi Relation name- lhe-clsbp-lisi-ol Second class bioieser oir Inverse ol lelalion none Relaiion name ihe-clo nstrc-am biopro.es Type ol relaiion one-to-one Inveise ol relaiion none Relation i svmmeiric no Type ol i elation onc-io-onc Relation is no A -SLM-LATFD-BM -OF First class hioπuxlel THE -I -BIORFSFRVOIRS-I.IST-OF a relaiion Second class model dcliiution Fiisi lass up-bιorcservoιis-lis( Relaiion name a-simulaied bm ol Second lass biorcser ir Inverse ol relation the-simulaiion model ol-bm Relaiion name- llic-up-biorc'ser irs-lisi-ol Tvpe ol relation manv-uvmanv Inverse ol relaiion none Relation is svmmetru no Type ol lelalion one-lo-one Relaiion is s mmeuic no A -SI ULATf D BR-OF First class biore er ou THE-UP-BK )PR< )CF.SSbS-IJST- F a relaiion Second cla model-del inilion First class hioprocesses-lisi Relation name a-simulaied br-oi Second class bioreser oir Inverse ol relaiion llie-simulalion model-ol r>ι Relation name llie-up-bioproce-sses-hsi-ol Tvpe ol relaiion man -ivi manv In ei e ol relaiion none Relation i scmmetiii ' no Tv e ol relation one-to-one Relaiion is swrunelrii no A-SIMUI.ATFD-BP- F First class bioprocess BR-CONTAINFD-1N Second class model-del Million Fiisi cl s bioreservoir Relaiion name a-simulaιed-hp-o! Second class biomodel Inveise ol lelalion ihc-siniulaiioii model ol hi Relaiion name- hr-ioniamed-in Type ol relation many-to-manv Inverse o] lelalion il.e-coniainer-ol-br Relaiion is ' no Tvpe ol lelalion manv-io-manv Relation is svπimelric ' no A-SELECTH. SIMUI.ATION-BIOMODFI OF Firsi class biomodel B -CO T.AlNhD-IN Second class bioreser u Firsi class bioprocess Relaiion name a s lected- simulation -biomod l Second cl ss biomodel In rse ot relaiion none Relaiion name bp-coiuained in Tvpe ol lelalion manv-io-manv Inveise- ol lelalion the -ontamei-ol-bp Relation is svinnielrtc no Tvpe ol lelalion manv-ιo-maιιv Relaiion is ' no /3S TABLE 76 CHAINING RULES Options lor all vv hcnever rules not im ocable v ia backw ard chaining. not inv ocable via lor ard chaining, may cause dala seeking, may cause lorw ard chaining a lor any biopiocess BP BPI and when BP2 is BPI and TABLE 77 I NFFRF NCF. Bl OCK RULFS tor any event -deacuvation-block B that is an attribute ol anv tinic-coinparinieni CC lor any time-compartment NC connected at the nc\ι- l ol CC w enev er die status S ol NC receives a value and when S is acti ated then deactivate the subworkspace ol CC and conclude that the status ol CC i deactiv ated w henever the tinic-interval I ol any iiiiic-activaiion-block B receives a v alue and w hen the beia-ci icll ol ' B " I >= the time-threshold ol B then conclude that die outcome ol B is abo e-threshold whenever the time-interval I of any time-dcacti aiion-block B receives a alue and w hen die beta-cocll ol B * I >= the time-threshold ol B then conclude lhat die outcome ol B is abov e -threshold w henever the checkpoint C of any chcekpoint-io-floor-biock B receives a value and w hen die beta -coclf ol B * C <= ihe threshold ol B then conclude lhat ihe outcome ol B is below -threshold w henever the checkpoint C ol any chcckpoint-to -ceiling-block B receiv es a value and w hen the bcta-cocll ol B " C >= the threshold ol B dien conclude thai the outcome ol B is abovc-dircshold /3S TABLE 78 Cbl-I CYCI.I: RULl.S lor any gO- phase P whenever the ouicome () ot the ncxi-acti alion-bli _k ot P recei es a value and hen () is nut w ithin- threshold then acti ate the subworkspace ot the g l -phase G connected al die l ol P and conclude diat die status ol G is activated lor any l-phase P henev er die outcome O ol the diflerentiation-aciivaiion-block ot P receives a value and w hen die status ol die s phase connected al die ol P is deactiv ated and O is not vv ldnn- threshold then activate die subworkspace ot the ditler-siage N connected at the di ol P and conclude dial die status ol N is activated lor any l-phase P henever the ouicome ( ) ol the next-acti ation-block ol P receiv es a value and when die status ot the diller-stage connected at die di ol P is deactiv ated ;uιd () is noi w iditn -direshold then acti ate the subworkspace ol the s-phase N connected at the s ol P and conclude that the status ol N is activated l r any s-phase P whenev er the ouicome ( ) ol die next-activauon-block ol P receiv es a value and when () is not w lihin-direshold then activ ate the subworkspace ot die g2-phase G connected at die g2 ol P and conclude dial the status ol G is activated lor any g2-phase P whenever die outcome O ol die apopiosis-aciivaiion-block ol P receiv es a value and when the suuus ol the m-phase connected at the m ot P is deactivated and () is not wiihin- thrc .hold then activ te the subworkspace ol the apoptosis N connected at the ap ol P and conclude that die status ol N is activated lor any g2-phase P hene er die ouicome ( ) ol die ol P receiv es a alue and w hen the status ot the apoptosis connected al die ap ol P is deacti ted and O is noi w ithin-threshi 'Id dien activate die subworkspace ol ihe M-phase N connected at die m ol P and conclude that the status ot N is activated lor any M-phase P hene er the ouicome ( ) ot die next-activation-block of P recei es a v lue and hen () is nut vv ithin-direshold dien conclude dial die geneuiioi. number N ol die gO-phase G connected at die gO ol P = N + I .ind conclude dial die πumher-ol-cells C ol G _ 2 ** C .uid conclude that the mass-per-cell ol G = die mass-per-cell of P / 2 .ind deactiv ate die subworkspace ol P and conclude dial die status ol P is deactivated tor any M-phase P whenever die ouicome O of die l-activauon-block ol P receiv es a value and when O is noi w uhm-ihreshold dien conclude dial die generaiioii-number N ol die gO-phase G connected at die gO ot P = NM 1 :uιd conclude dial die numher-ol-cells C ol G = 2 " C and conclude that the mass-per-cell of G = live mass-per-cell ol P / 2 and activate die subworkspace ol die l -phase G connected at die gl ol P .ind conclude diat the status of G is acuvated and deactiv ate die subworkspace ot P and conclude dial the status ot P is deacu ated lor any ditter-siage P whenever the ouicome O ol the next-activation-block ol P receives a value and when () is not vv iihin-ihreshold then activate the subworkspace of the gO-ph se GO connected at th ne ol P and conclude that the status ol GO is acuvated .ind activate the subworkspace ol die g I -phase G l connected at the ng ol P and conclude diat the sc tus ol G l is acti ted '3f TABLE 7 y ICON COLOR RULES lor any biovievv-obieci ( ) henever the toggle-state T ol ( ) receives a value and when T is hide then change ihe color-paueπi of () M> dial lighi-color is light-gray, dark-color is dim-gray , while-color is white lor any bioprocess P lor any bioengme E whenev r ihe type-color ol E receives a value then change the color-pattern ot P so thai type-color = the type-color ol " E l r any bioprocess BP w henever BP is moved by the user and when the subworkspace SW of BP exists and there exists a bioengme E upon SW and not (the type-color of BP = the type-color of El then conclude dial the type-color of BP = die type-color of E lor any bionode-obiect () whenever ihe toggle-slate T of < ) receives a value and when T is hide then change the color-pattern ol U so dial light-color is light-gray, dark-color is dim-gray . while-color is while l or any comple.x-bioeniuy ( ) whenever the toggle-Mate T ol ( ) receives a value and when T is show then change the color-pattern ol ' ) >o dial light-color is dim-gray, dark-color is light-gray . vv hue-color is black lor anv bk _nttiy-iu .es N whenever ihe toggle -stale T ol N receiv es a value and when T is hide then change the color-pattern o! N so that light-color is lighi-gray. dark-color is dim-gray . white-color is white lor any hiuentiiy-noies N henever the toggle-state T ot N receives a value and when T is show then change ihe color-pattern ol N so thai light -color is dim-gray, dark-color is lighi-gray. white-color is black lor the subworkspace SW ot any bioreservoir-biii BRB lor any biorescrv oir BR upon SW w henever BR is moved by the user and w hen not ( there exists a bioreservoir upon SW ) then change the type-color ol BRB to gray Mr the subw rkspace SW ot any bioreservoir-bin BRB lor any bioreservoir BR upon SW w enever BR is moved by the user and when diere exists a bioreservoir upon SW then change die type-color icon-color ol BRB to purple lor anv expeπmeni-seleciion ES w henever ES is moved by die user and when the curreinly-selected ol ES is lalse then change the type-color icon-color ol ES to goldenrod lor any experiment-selection ES henever ES is moved by ihe user and when the currentl -selected ul ES is irue then change die type-color icon-color ol ES to gold TABLE SO LABELING RULES lor any bioentity BET w nenever BET is moved bv the user and w hen BET has a name then conclude ihai the mas.er-hi _ιuuy ol BET = die name ol BET lor any bioeniiiy BET lor any bιo-obιecι-ιnle T upon ihe sub rkspace l " BET whenever BET is oved by die user then conclude thai die label ol ' T = " [the label ol " BET| " lor any hu _iiiiiy-no.es FN upon the SW ol any bioentity BET w enev er FN is moved bv the user then conclude thai ihe Libel ol ihe hi -obieci-tiile upon the sub rkspace ol FN = die label ol BET n≤~ TABLE 81 ICON MOVFMFNT RULfcS lor any biopool P connected to any graph-tracer henever P is mo ed by the user dien move the scaled-br-graph-tracer connected to P to (lelt -edge(P) - S. mιddle-y(P) + 1 1 ) and move die absoluie-br-graph-iraccr connected to P to <lelι-cdge(P. - 8. mιddlc-y(P. - I()ι and move ie br-chaininig-tracer connected to P to iπghι-cdge(P. + 6. nuddle-y(P) + 1 1 ) and move the query-tracer connected to P to (πght-edge(P) - 6 mιddle-y(P) - 10) and change die core stripe-color ot every graph-link connected to P to transparent lor any bioengme E connected lo any graph-tracer whenever E is moved by die user ϋven move the scaled-bp-graph-iracer connected to E to < lelt -edge(E) - 8. mιddlc-y(E) + 1 1 ) and move ihe bp-chaunnig-tracer connected to E lo (lelt-edge(E . - 8 mιddle-y(E) - 10) and move die up-path-tracer connected to E to (right -edge(E) + 8 mιddle-y(E) + 1 1 ) and move the down-path-tracer connected to E to (πghι-edge(E) + 8. middle-y(E) - 10) and change die core stπpe-color ot every graph-link connected to E to transparent lor any bioproduct P connected lo any bioproduct-post PP henever P is mo ed by the user then move PP to (πght-edge( P) + 4. nuddle-y(P)) change die core stripe-color ol the icon-wire connected to R to transparent and change die core stripe-color ot die icon-wire connected to P to transparent tor any bioreactani R connccied lo any biorcactant-post RP whenever R is moved by the user then move RP to (letl -edgc(R) - 3. ιιuddle-y(R)) and change the core sinpe -color ol the icon-wire connccied lo R to transparent TABLE 82 the VELOCITY ol any BIOENGJNE.E1.S1 11 E = the first ol the li .lowing expressions thai has a value (the etfcctive-binding-siies ol ie en/ me r Z connected al the port- 1 ol E > the catal uc -rate-constant ol Z die concentration oi the soluble-mol-pool connected lo Z * die concentration SQ ol the soluble-mol-pool connected to die substraie r S connected al ihe si ol E / (it not (Uiere exists an inhibitor bioreactani connected at die I 1 ot El dien SQ + the michaelis-constant ol S else (il there exists a comp-inhibitor r Cl connected at the il ol E then SQ + die michαehs-consiαni ol S * ( 1 + die concentration ol die sol-mol-pool conneceicd to 1 / die Inhibition-constant ot I / die inhibition-constant ol CI ) else ul there exists a noncomp-inhibiior.r Nl connccied at the I I ol E then SQ " ■ ( 1 + the concentration ol the sol-mol-ptxil conneceicd to I / the Inhibit ion -constant ol I / the inhibition-consiani ot Nl + the michaelis-consiant ol S i * < 1 + die conccniraiion ol die sol- inol- ool conncceied to I / die Inhibition -constant ol I / the Inhibiuon-consiani ol Nl ) else (il there exists an uncomp-inhibiior r Ul connccied at the il ol E then SQ " ( 1 + the concentration ot die sol-mol-pool conneteted to I / die Inhibition-constant ol I / die mliibiiion-consuni ot Ul + ihc michaelis-constant ol S ) else ( il there cxisLS a mixed-inhibitor r MI connected at the il ol E then SQ * • ( 1 + the concentration ol die sol-mol-pool conneceicd to 1 / die Inhibition -constant ol I / die inhibition-constant ot Ml + the michaelis-constani ol S ) * ■ ( I + die concentration ol die sol-mol-pool connecctcd to I / die Inhibition -constant ol I / die inhibition-constant ol MI ))))))). 00. /3> TABLE S " . GENERIC-SIMULATION-FORMULAS lor Scaled-Valued Variables die _C \LLD- .MOUNT C ol any BIOPOOL PO = ( max ( •_ _ ->. the accumulation of PO)) stale variable d / dt (the ACCUMU1. \ riON C ot any BIOPOOL PO) = die input-rate of PO - die output-rate ol PO + die scaled-entry of PO - die decay -raie-lactor ol die bioreservoir supeπor to die workspace ol PO ' the scale -amount ol PO widi initial value die scaled-basal-amouni ol die bioreservoir superior to e workspace ol PO die INPUT- -\T1 ol ;uιy BIOPOOL PO = die first ol die lollowuig expressions dial has a v alue ( (max ( 00. the sum over each bioproduct P connected to PO ot ( die production-raie of P ) + the lirsi ol die lollo uig expressions dial has a v alue (die output- 1 ol ie model-block M upon die subworkspace ol die scaled-inpui-model-box connccied to PO. 0 0 ))) . _ l _ _ -9) die oiTTL .-RATF- ol any BIOPOOL PO = die first ol the lollowuig expressions that has a value ( max (0 0. die sum over each bioreaciant R connected to PO ol (die consumpuoii-rate ol R ) + die lirst ol die lollowuig expressions dial has a value (the output- 1 ot die model-block M upon the subworkspace of the output- m. κlel-hox connected to PO. 00 ) ) . 9e -9) die u> -SUMPT ION- RΛTL ol any BIORLΛCT XNT R = die first ol die lollowuig expressions dial has a value ( max (00. the v elocitv ot the bioencme connected to R / the stoicliiomeiπc-coell of R i y ye- . ι die -O.NSUMPI ION-R v. l ol any \MI 'LIHr.R-BIORl ACT \N I R = 00 die PRODL MON-R XTC ol any BIOPRODUCT P = die lirst ol die lollow uig expressions dial has a v alue imax ( 0 0 die velocity ol die bioeiigine connected to P " die sioithiomeiπc-coell ol P ) y 9e -9) die \ I LOU ΓY ot any BIOENGIN E = die first ol the lollowuig expressions that as a alue ( max ( 0 0. die product o er each bioreacuint R connected lo E ol (die alpha -u veil ol R * die contribution ol R ) " the ratc-eonsiani-sec ol E * the tau-coel l ol E + die bias ol E ) 99e-y ) TABLE S 4 GENER1C-SIMULATION-FORMUL -S FOR THE CONTRIBUTION Based on Scaled-Valued Variables and Parameters die C TRIBUTION ol any AMPI.IRLR- BIORΓ. R = the first ot die lollow mg expressions dial has a value ( min ( 1 0. max (0 0. die ellecuve-biiiding-siics ol R * die scaled .unoum ol die biopool connected to R )). 0 5 ) die \ ΓRIBUTION ol any -UBSTR MT R R = die lirst ol die lollow uig expressions dial has a value ( mm ( 1 0. max (0 0. die scaled-amount Q ol die biopool PO connected to R / ( die scaled-iiiichaelis k ol R + Q ))) . 0 5) die (. ON ΓRIBU TON of any INHIBITOR BIOR__ \CT \NT R = die lirst ol die lollowuig expressions dial as a value ( nun ( 1 0. max (00. die scaled-amount Q ol die biopool PO connected to R / ( die scaled-inhibition k ol R + Q ))) . 0 5 ) die CONTRIBUTION of anv LEADING- BIOR r .N T R = die first ol die lollowuig expressions dial has a value ( nun ( 1 0. max (00. die ellecuve-bindiiig-sites ol R - die scaled-amount ol ihe biopool connected to R )) Λ die stoicluomelπc-coell ol R. 0 5 ) die C NTRIBUTION of any BINDING- BIORΓ.ACT \NT R = the lirst ol die follow ing expressions dial has a v alue ( mm ( 1 0. max (00. die scaled-amount Q ol die biopool PO connected lo R / ( the scaled equil dissoc k ol R + Q ))) Λ die stoichiomeiric -civil ol R . 0 5 ) die CONTRIBUTION ol any ION R R = die first ol ie lollow uig expressions diat has a v alue ( min ( 1 0. max (0 0. die scaled-amount Q ol dje biopool PO connected lo R / ( die scaled-equilibrium k ol R + Q ))) . 0 5 ) die CON ΓRIBUTION ot any SlNGLr-BIORL xcT \N r R = die lirsi ol die lollow uig expressions dial has a value ( m ( 1 ( ' ) max (0 0 the scaled-amount ol die biopool connected to R )) 0 TABLE 85 GENERIC SIMULATION l-ORMULAS H )l< ABSOLUTE-VALUED VARIABLES the CONCENTRATION ol any SOLUBLE-MOL-POOL PO _ (max (0.0. the accumulation ol PO.) COMPLEXED-MOL-POOL PO = (max (0 0. die siate variable : d / dt ( the ACCUMULATION ol any SOL-MOL-POOL PO) = the input-rate of PO - the output-rate of PO + the concentration-entry ol PO - die dccay-raic-lactor ot the sol-mol-reservoir superior to die workspace ot PO " " the concentration ol PO. with initial value the basal -concentration ot PO stale vanable : d / dt (the ACCUMULATION oi any COMPLEXED-MOL- POOL PO) = the input-rate of PO - dve output- rate of PO + the density -cnu-v ol PO - the decay-rate- lactor ol the bound-niol-rcscrvoir supeπor to the workspace ol PO "* die dcnsitv ot PO. with initial value die b asal -dcnsiiv ol O ihc INPUT-RATE ot anv BIOPOOL PO = the first ol ihc lollowuig expressions dial has a v alue (max ( 0.0. dve sum over each biopr.xluct P connected to PO ol ( die produciion-raic ol P ) + the first ol the following expressions ihat has a value (the output- 1 of the model-block M upon die subworkspace ol the nipui-niodel-box connected to PO. 0 0 ) ). 0.0) die OUTPUT-RATE ol any BIOPOOL PO = the first ot the lollowuig expressions that has a value ( max (00. dve sum over each bioreactant R connccied lo PO ot (die consumption-rale ol R ) + die first of the lollov ing expressions that has a value (the output- 1 ol the model-block M upon the subworkspace ol die output-modcl-box connected to PO. 0 0 ) ) . 0.0) die PRODUCTION-RATE oi any BIOPRODUCT P = ihc first ol the lollowuig expressions that has a value (max ( 0 0. die elocitv ol die bioengme connccied to P *■ die sioichiomctπc-coclt ol P ) 0 0) the CONSUMPTION-RATE til any BIOREACTANT R = the first ol die lollowuig expressions thai has a value ( max (0 0. die v elocitv ol d e bioengme connccied lo R / the sioichiometric-cocll ol R ) 0 0) ihe CONSUMPTION-RATE ol anv AMPLIHER-BIOREACTANT R = 0.0 ihc VELOCITY ol any BIOENGINE.E l.S I .i l E = the first ol the following expressions lhat has a value (the effectiv e-binding-sites ol the eιi7ynιe.r Z connected at die poπ- 1 of E " the catalytic-rate-consiani of Z " * ( the coiiceiitralion ol dve sol-mol-pool connected lo Z " the concentration SQ ol the sol-mol-pool connected to the subsiraic.r S connected at the s i ot E / SQ + the michaelis-constant ol S " ( if there exists a comp-inhibitor r I connected at die 11 ot E dien ( 1 + die concentration ol the sol-mol-pool connecficd to 1 / die Inhibition -constant ol I ) else D). 1 ϋe Λ - . /3S TABLE 86 GENERIC SIMULATION FORMULAS FOR MIXED-TYPE SIMULATIONS state variable : d / dt ( ie ACCUMULATION of any BIOPOOL PO) = die input-rate of PO - the output-rate of PO + ihc density-entry of PO - the decay- raie-facior of live biorescrvoir superior to the workspace of PO * die density of PO. widi initial value die basal-density ol ' PO the DENSITY of any BIOPOOL PO = die first of die following expressions diat has a value . max ( 1.0e-9. ( the scaled-amouiil of PO * die scalinc-dcnsitv of PO ) ). 9.9C-99 ) the CONCENTRATION C of any Biopool. PO = the first of the following expressions lhat has a value ( max ( 1.0e-9. ( the densiiv ol PO / ( 6.023e23 * to -volumc-po(PO)))) . 9.9e-99 ) the CONTRIBUTION of any AMPLIFIER-BIOREACTANT R = dve first ol the following expressions lhat has a value ( min ( 1.0. max (0.0. the clfcciive-binding-siies of R * the density o Uve biopool PO connected lo R / the scalinc-dcnsitv of PO)). 0.5 ) the CONTRIBUTION of any SUBSTRATE.R R = die first of the following expressions lhat has a value ( min ( 1.0. max (0.0. the concentration Q of die biopool PO connected to R / ( die michaelis- consiaiu of R + Q ))) . 0.5 ) the CONTRIBUTION of any INHIBITOR.BIOREACTANT R = die first of ihc following expressions thai has a value ( min ( 1.0. max (0.0. ihc concentration Q of die biopool PO connected lo R / ( die iivhibiiion- constani f R + Q ))) . 0.5 ) the CONTRIBUTION of any LEADING-BIOREACTANT R = dve first of the following expressions diat has a value I min ( 1.0. max (0.0. the effectiv c- binding-sitcs of R " die density of dve biopool PO connected lo R / the scaling -density of PO)) Λ the stoichiomciπc-α _ff of R. 0.5 ) the CONTRIBUTION of any BINDING-BIOREACTANT R = the first ol the following expressions that has a value ( mm ( 1.0. max (0.0. the density Q oi ihe biopool PO connected 10 R / ( ihe equilibrium _iiss-x.iaiu-ii-coiis.aiu of R + Q ))) Λ ihc stoichiomciric-coelϊ of R . 0.5 ) the CONTRIBUTION of any ION.R R = die first of the following expressions dial has a value ( min ( 1.0. max (0.0. dve concentration Q of die biopool PO connected lo R / ( dve equilibrium-constant of R + Q ))) . 0.5 ) the CONTRIBUTION of any SINGLE-BIOREACTANT R = the first of the following expressions that has a value ( min ( 1.0. max (0.0. ihe density of the biopool PO connccied to R / the scaiinc-density of PO)). 0.5 ) /39 TABLE 87 GENERIC SIMULATION FORMULAS lor Model Blocks the output- 1 ot anv CONSTANT F CF = the constant ol CF Tracing and breakpoints default the output- 1 ol anv INCREASING. F = the current time * le-s ihe output- 1 oi anv PROPORTIONAL. F PF = the input- 1 ot PF - the gain ot PF + the bias ol PF the output- 1 oi anv SIGMOID FSF= 10/ ( 10. exp i - ihe pain o SF < 10*- the input- 1 ot SF i - the bus ol SF » > the ouιpuι-1 oi am EXP.C PDF C = 10 - exp t- ihe x-v l ot E / the mean ot E) ihe ouiput- 1 ol anv EXP 1 PDF E = exp i- the x-val X of E / the mean M of E) / M ihe output- 1 ot anv UNIF.C.PDF UC = I il the x-v ;U X of UC < the nviii-v al Ml of L ' C ilien MI else in X > ihe max-val MA of UC then MA else ( ( X - MI) / (MA - MI ))) ) the output- 1 oi am UNIF RN F UR = random ( the min-v al of UR. ih max -\ al of UR ) ihe output- 1 ol am NORM.AL.RN.PDF NR = the mean of NR + ( i the max-val ol NR + de rrun-val oi NR)/ 6 ) ' .sqri ' l -20* In ι random ( 00.1.0) ) ) ' sin ( 2.0* pi 0 ' random i 00.1.0) ) ' In ( random < 00.1.0) ) ihe ouφuι-1 oi a NORMAL 1 PDFN1 = exp uexpi mhe x-val ot Nl - ihe mean ot Nl i.2υ /(20 " i the max-val MA oi Nl + ihe nun-val Ml ol Nl) I < • > )> ~ ( 1. /(sort ( 20 ' pi ι ) " i MA + Ml) / h ιι> the output- 1 oi anv SIN TIME F ST = max i the rrun-v al of ST. min ( the max-v ol ST. the bias ol ST + ihe gam ot ST " sin i the current time / the ire uency ol ST ) ) ) the output- 1 ol anv COS.T1ME.F CT = max ( Hie min-v l ol CT. nun (the max- al ol CT. cos ( the current lime / ihe I requeue) ol " CT ) / ihe gain oi CT ) ) ihe ouiput- 1 oi anv EXP RN PDF E = max i the min-val ot E. nun i ihe n x-val ol E. - In i random it) 0.1 ) ) " the mean oi E )) TABLE RS GENERIC SIMULATION FORMULAS for Cell Cvcle slate riable : d / di (the number-ol -cells ot anv l -phase Pi = the progression-rate ot the cycle-path -oniiecied at the G of P + the progression-rale ot the cycle-path coiinectcd al ihe Di of P - ihe progression-rate oi the cvcle-path connected al ihe S ol P. with initial value 00 slate variable .1 / dt it he number-oi-celK ol anv S-phase P> = die progression-rate oi ihe cvcle-path connected al the Gl ol P - ihe progression-rate ol ihe c-cycle-path connected at ihe G2 ol P. with initial value 00 slate .triable d / di (the number -oi-cells υt anv G2-phase P) = ihe progression-rate oi the cvcle-paih connccied at the S of P - the progression-rate of the c-cycle-paih connccied at the M ol P - the progression-raie ot the cvcle-path connccied at the Ap ol P. with initial v lue 0.0 state variable : d / dt i the number-ol-cells ol anv M-phase Pi = ihe progression-raie ot the cvcle-path connected at the G2 of P - ihe progression-rate ol " the cycle-path connected ai the GO ol P - the progression-raie ol the c cle-path connccied at the Gl ol P. with initial v lue 00 slate v riable d / dt (the number-ol-cells ol any ditier-siage Pi = ihc progression-rate ot the cvcle-path connected at ihe Gl ot P - the progression-raie of the c-cvcle-path connected at the NG oi P. with initial v .due 00 state v riable . d /dt (the number -ot-eells ol any apoptosis Pi = ihc pro, ression-rate ol the cvcle-path '.-unnected at the G2 ot P. with initial lue 00 state ariable d / di (ihe number-ol-cells ol anv cell-phase Ci = the sum over each cvcle- path Pi connected at an input ol C ol (the progression-rate of Pi ι - the sum over each cv e-paih Po cυnnecied at an υuipui oi C ot ( live progression-raie ol Po ) . vv ith initial \ alue 00 the progression- raie ot c-cvclc-paih P = the raie-constaiu oi P * the tau-.oetf ot P - ihe nunber-v -cells oi ihe cell-phase connccied at the mpui ol P TABLE 89 an user-menu-choice Label create-local Applicable class complex-biocniity Condition the item has a name Action start ET-CREATE-LOCAL-PROC (the item, this window) ET-CREATE-LOCAL-PROC (EN: class co plex-bioentity. \V: class window) create a complex-biocniity LO by cloning EN: transfer LO to t e WS of EN at (live item-x-position of EN + 10. the itenv-y-position of EN - 30): for each bioentity CO upon the SW of LO do make CO transient and delete CO: for each bioeniity-notcs BN upon the SW of LO do make BN transient and delete BN: ake LO permanent: TABLE 90 an user-menu-choice Label add-scalcd-input Applicable class biopool Condition the scaled-input -model -box connected to the item does not exist Action siart CREATE-SCALED-INPUT-MODEL-BOX- PROC (live item, this window) CREATE-SCALED-INPUT-MODEL-BOX-PROC (BP: class biopool. Win: class window) create a scaled-inpui-inodel-box B by cloning MASTER-SCALED- INPUT-MODEL-BOX: transfer B to the workspace ol " BP at ( lclt-edgc( BP) -7. nιiddle-y( BP. +56): make B permanent: show the subworkspace ϊ B on Win with iis center 0 units above the center oi the screen: TABLE 91 an user- menu -choice Label create-sw Applicable class bioengme Condition not (there exists a subworkspace of the item) and live losϋle-statc of the item is hide Acti n start CREA TE-SW-FOR-BIOENGINE (the item, this window) CREATE-SW-FOR-BIOENGINE (E: class bιocn_ine. win: class window) create a workspace box by cloning the SW of BIOENGL .E-sw -MASTER : sho box on win al the center of the screen: make box the subworkspace of E: make box permanent. I t TABLE s_ an iiser-nienu-choiiv Label add-iop-post Applicable class biopc* _ Condinon none Action start CREATE-BIOPOOL-P-POST-PROC (die item, tins window > CREATE-BK)P ( ) () L-P-POST-PR () C (BP: class biopool. Win: clas-, window) create a bιopool-p-posι P. il tlie biopool -p-post connected ai the p () 2 of BP does not exist ien next-label = ' pp02 " . x = - 50: else if the bιopool-p-po i connected at die p( ) 4 of BP does not exist dien next-label = pp04 "■ x = - 25: else it the biopool -p-post connccied at die p06 ol B does not exist then next-label = " pp06 " : x = 0: else if tlie biopool-p-post connected at die p()S of B does noi exist then next-label = " ppOS " . x = 25: else il the biopool -p-post connected at the plO of BP does not exist then next-label- pplll " : x = 50. else it the biopool-p-post connected tit die pi 2 of BP does not exist dien next-label = ppl2 . x = 75: else go I parι-2-roυtιne. transier P to ihe workspace ot BP at i middle-x ι BP) + x. middle-vi BP) + 40): -li-inse ihe text ol the label ol " P to " | next-label f call P<)OLP()ST-NAME-.T-PR<)C iP. Wim. make P permanent: return: paπ-2-rouιιne it " in _ (there exists a hιopooi-p-posι connected ai the pOl of BP) then next-label = " ppOl " : x = - (->3:else it the biopool -p-post connected at the pf ) 3 ol BP does not exist then next-label = ppO.V ' -. x = - 3S. else il the biopool -p-posι connected ai the p05 of BP does noi exist then next-label = " ppt)5 " . x = - 1 : else il die biop..ι|-p-|.->>ι connccied at the p07 ol BP does not exist then next-label = pp07 " : x= 1 . else il the biopool -p-posι connected ai the p ( W of BP does not exisi then c i- label = ' ppl) . ' . x = 37: else il the bιopool-p-posi connected at the pi 1 BP divs noi exist then next-label- ppl 1 ' . x= 62: else go to exu-rouune: iranster P to ihe workspace ol BP at (middle-x iBP) + x. middle-vi BP) + 60). chance the text ol die label of P to " |nexι-label| " . call POOLPOST-NAME-IT-PROC (P. Win), m ke P permanent: re mm exu-rouune. md = call uil-creaie-messace-dialog ι " md " . " Change the label ol the new post to the next consecutive number, such as ppl.. place it in nexi position, .ind conneci n to the connection ol the last raised post, and select name-it irom its menu . vv in. the svmbol none.0.0). traiisler P to the workspace of BP at (middle-x (BP) + 100. πuddle-viBH) + 100). make P permanent: ii the bιopool-p-posι connected at die pOl ol BP exists then move the bιopool-p-posι connected at the pOl ot BP to i nuddle-x ι BP) - o.. nu.idie-vιB ι+ UMI. /¥ TABLE 9s .in user-menu -choice Label name-it A plic ibl class biopool-post Condiuon the item h no name Action an POOLPOST- A -IT-PROC (the Hem. this window i P(>( >I.P ST-NAME-.T-PROC .post class biopool-posi. win class window i BR = the bioi sei voir supenoi lo ihe workspace ol posi. length = lengili-ol-iexi ( ' [the name ol BR] " ). base-name = omit-trom-text I [the name ol BR]'. length - 1. length), post-name = uiseii-in-texi i [llie label ol posi| . base-n.ι e. length - 11 change the name ol posi in svnibol ( [posi-name]' i. change the lext ol the label ol post > [post-name] . change the lace-color icon-color l po»ι to green. make post permanent TABLE 94 an user-menu-choice Label unname-ii Applicable CIJ S biopnnl-nosi Condition ihe item as a name Acuon siaii POOLPOST-REMOV -NAME-PROC ilhe item, lliis window ι Pool POST-REMOVE NAME-PROC (post class biopool-posi \V cl ss window » change llie lexi ol llie names ol |>osi lo none . chance the text oi the lei-biopiocc'ss ol posi to none . length = lengih-oi-iexi (the label ol posii b.isc'-ljbel = omii-lioni-iext ulie label ol post.1. length - 4ι change the lexi ol llie label ol posi io | base-label] chance ihe lace-coloi icon _oloι ol post κ> liglu-grav. muλe p peimanent. TABLE 95 an User-menu-choice l.jbel unname-ii Applic able c lass biorole-posi Condition ihe uem has a name Aciion s n ROLEPOST-REM YE-N -ME-PROC (ihe Hem this window , TABLE 9 an user-menu-choice Label sei-rels Applicable class bioiole-posi Condition the uem lias a name Λdiυn sian ROl.EPOST-SET-REFS-PROC (the He . this window ) Rol.EPOST SET-REES-PROC ip si d..ss bioiole-posi W cl ss window i BP = ihe bioprocess supenor lo ihe woikspace ol post il iheie exists a biopool P( ) connected lo posi then BR = ihe bioreservoir supenor ιo ihe workspace of PC). PP= ihe bioposi named bv the name ol posi il post is a bioieaLtani-posi and PP is noi a bιopool-ι-posi ihen iiilorm ihe operaioi lhat You aie ir ing eis il posi i a biopioduα-posi and PP is noi a liιopool-p-posi ihen inloini llie opeiaioi dial You aie ιιx ing eUe conclude thai the ret-bιopιocess ot PP = the name o| BP make PP permaneni . OIKIII.IC iliai the lei- ioies ivnu | p_ι = ihe name ot BR m ke posi peimaneiH / 3 TABLE 97 miuallv show ihe subw orkspace ol INITIALIZATION-PANEL at the center ot tlie screen TABLE 98 BASIS-MENU-HEAD-CALLBACK ( buiioir clas button, w in: class w indow, di -or- ksp class item) it ihe user-mode ol win is developer ihen start gdm-iiin-and-shovv-menu-sv iem (developer -menu-head, w in) else il ihe user-mode ot w in is mixleler then start gdm-inii-and-show-menu-sv stem ( modeler -menu-head, w in) else il the user-mode ol m is general or the user-mode ot win is nav igation then start cdm-inii-and-show -menu-s stem (general -menu-head, wm) else il the user-mode ol w m is simulation then st.irt cdm-inii-and-show -menu-sv stem (simulanon-menu-heacl w ini return TABLE 99 NAVIG-INIT -PROC (w in. class w indow ) inlorm the operator that " Initialization siaπed". lor BP = each bioprocess do allow other processing. u die subworkspace of BP exists then activ ate die subworkspace ot BP. tor BR = each bioreservoir do allow other processing. il die subworkspace ol BR exists then activ te the subworkspace ot BR call BR-INITIALIZATK )N-PR< )C ( ) inlorm die operator lhat " The bioReserv irs have been initialized lor BP = each bioprocess do it BP has a name dien call BP-INITIALIZATION-PROC (BP). call DOWNSTREAM-CH. .IN1NG-PR C (BP) call UPSTREAM-CH. .1NING-PROC (BP) mlorm the operator thai " The bioProcesses have been ιnnιalιz.ed . d chaining is completed lor BM = each biomodel do call B.\1-INITIALlZATION-PR< ) C (BM). mlorm Llie operator Uiai " T e bioModels have been initialized TABLE KX ) BR-INITIALIZATK )N-PROC 0 lor BR = each bioreservoir do il BR has <ι name dien allow other processing-. conclude thai the status ol BR is av ailable SW = the subworkspace ot BR P( ) = die biopool upon SW conclude dial the label ot PO = die label ol BR change the text ol ihe master -bioreserv ir ol BR ιo ' | the name oi BR ] WS = die orkspace ol BR il the bio-obieci-iule upon WS exists then conclude lhat ihe compartment ot BR = ' |_ιe label ol the bio-ohject-uile upon WS] " il the vv aπungs ol BR /= '" dien change die I lac-color icon-color ol BR to v ello else change die fla -color ιc< . - color of BR lo ie status-color icon-color of BR 11 there exists a biopool -r-post connected 10 PO then l sι connected to PO do il dvere exists a bioreaciani-posi RP such Lhat ( RP has a name .md die name oi RP = ihc n.ime ol PRP) dien DBP = Hie bioprocess superior to die orkspace ol RP conclude dial ihe rel -bioprocess ol PRP = die name oi DBP conclude that DBP is a -do n-bioprocc .s-ot BR. n ihere exists a bιopool-p-posι connected to PO then lor PPP = each biopool-p-post connected to P( ) do 11 PPP hits a name then allow odier processing it there exists a bioproduct-posi PP such that < PP has a name and the name ol PP = the name oi PPP) then UBP = the bioprocess superior to the workspace ot PP conclude thai ihe rel -bioprocess ol PPP = the name ot UBP conclude that UBP is an-up-bioproccss-ot BR make BR permanent return TABLE 101 BP-INITIALIZATION-PROC (BP class bioprocess) SW class kb-vvorkspacc = die subworkspace of B P. WS. class kb-vvorkspacc = die workspace ol BP. allow odier processing, conclude diat die status of BP is available, il iherc exists a bioengme E upon SW dien it diere exists a bioprocess that is an-up-bioprocess-ol UBR then lor USBP = each bioprocess dial is an-up-bιoprocess-ol UBR do conclude dial USBP is αn-upstream-hioprocess-ot BP. if diere exists a bioreservoir that is an-up-bioreservoir-ol USBP ihen lor USBR = each bioreservoir dvat is an-up-bioreser oir-ol USBP do conclude dial USBR is an-upsireaπv-bioreservoir-ot UBR. il iere exists a bioproduct upon SW then lor P = each bioproduct upon S W do allow other processing. PP = die bioproduct-post connected to P. il PP has a name ihen il there exists a hioposi PPP such lhat (PPP has a name and the name ol PPP = die name ol PP and PPP is not a biopool- p-post) dien inlorm the operator that "A wrong connection has been establiscd A biopπ κlucι-post aimed [die name ol PP] has been given the same name as a biopost d al is noi a biopool-p-posi" else il diere exists a bιopool-p-posι PPP such dvat (PPP has a name and die name ol PPP = the name ol PP) Uien DBR = die biorcservoir superior to die workspace of PPP. conclude that the rel -bioreserv oir of PP = the name ol DBR. 11 there exists a bioprocess al is a -do n-bioprocess-ol DBR then lor DSBR = each bioreservoir that is a-do n-biorcser oir-ol DSBP do conclude dial DSBR is a-dovvnstre.tm-bioreservoir-of DBR. inakc B V pcrnianein return TABLE 102 DOWNSTREAM-CHAL .LNG-PROC (BP class biopiocess i il iheie exists a bioprocess that is a-downstream-bιoprocess-of BP ihen lor BPI = each bioprocess ihal is j-dυvv iisiieαni-bioprocess-ot BP do allow oilier processing il ihere exists a biopπxc . tlial is -dow nsiream-bioprixess-ol BPI then lor DBP = each bioprocess ihal is a-do nsireani-bioprocess-ol " BPI do it DBP is not a-do nstieaπi-biopaxess-oi BP then allow oilier processing conclude thai DBP is a-Uovvnsiream-bioprocess-of BP c all DOWNSTREAM-CHAIN1NG-PROC (DBP) il Ihere exists a bioreservoir ihal i a-dovv n-bioreser ir-of BP then loi BR1 BP do allow oilier processing il there exists a bioreseiv i thai i a-downstream-bioreservou-of BR1 ihen lυr BR2 =each bioreservoir lhat is a-dovvnsiream-bioreservoir-of BR1 do il iheie exisis a bioreservoir lhat is a-downsircam-bioieservoir-ot BR2 then loi DBR = each bioreservoir thai is a-dow nsireani-bioieservoir-ot BR2 do allow oilier processing conc lude thai DBR is a-downsircam-bioieservoir-of BR 1 TABLE 10 . UPSTREAM-CHAINING-PROC (BP class bioprocess i il there exisis j biopiocess ihal i an-upsircam-hioprocess-ol B lhen loi BPI = cadi bioprocess tlui is aιι-upsiιeanι-bιopκxess-ol BP do allow oihei pii essing il there exisis a biopnxess that is aiι-upsireanι-bιoprocess-of BPI then lor UBP = each biopnxess that i an-upsiream-bioprocess-ot BPI do it UBP i nυi an-upsirejnι-bιopκ .ess-01 BP ihen allow oilier pi cessing. conclude that UBP is an-up.siieani-bioprocess-ol BP call UPSTREAM-CHAINING-PROC (UBP) il iheie exists a bioreservoir that is aιι-up-bιorescrvoιr-υt TABLE 104 IN1T-BM-CONTAINFD-CALLBACK (hulton class uil-buiion w in dass w indow vvksp l ss kb vvoikspace i mloim the operalor ihal New biomodel names and coniaining iclaiions w ill now be established lor each biomodel BM do call BIOMODEL IMT l.l/ATION-PROC ( BM ) inioim the operalor thai New biomodel names and coniaining relations aie now completed return BIOMODEL-INITIALIZATION-PROC (BM class biomodel) v iew s tlie S l BM sc'i the liile upon v iew equal lo the label ol BM - llie title ol v iew lor each biomodel B 1 upon view do conc lude that BM I is R\I-CO\TAIMD-I\ BM lor each biomodel CBM thai is lhe-i niatnt't -oj-bm BM do conc lude that BM I is R\l-CO\T \l\FI) Λ CBM call BIOMODEL-INTπALIZ. ATION PROC ( BM I I the flag-color ol BM lo grav loi each biomodel CBM thai is ιlw-ι ntauwi- t-bm BM do l bin BM do eiuπi Λ - TABLE 105 ADD QUERY-C ALLBACK (builon cl ss uil-button win dass w indow panel class seleciion-panel ) c all bT-L NITIALIZATION-PRIX- ( i call INIT-QUERY-TABLES-PROC (w m). letum TABLE 106 QUERY-INIT-CALLBACK (builon class builon. w in c lass w indow, panel class selection-panel) call NAVIG-IMT-PROC (win) call ET INITIAI.IZATION-PROC O call 1N.T-QUERY-TABLES-PROC iw ini return TABLE 107 ET-INITIALIZATION-PROC ( ) n integer = 0 lor ET = each complex-bioeniilv do il ET ha> a name ihen n = 0 conclude thai die id ol ET = [ihe name ol ET]-0 lor CE = each complex-bioeniilv ihal is ol Ihe class named by ihe class ol ET do il the masier-bioeniiiv ol CE = ihe name ol ET ihen n = n •+ 1 c n lude thai llie id ol CE = (ihe name ol ET]-[n] . leturn TABLE 108 IN.T-QUERY-TABl ES-PROC ( wm c l ss ^-w indo i aciivaie Ihe subworkspace ol QUFRY- ARRAYS-BIN. il there exisis a querv-an av upon ihe subworkspace ol QUERY-ARRAYS-BIN ihen lor QA = each querv -arrav upon the subworkspace ol QUERY- ARRAYS-BIN do make QA transient, deleie QA il there exists querv -list upon the subworkspace ot QUERY-1.1STS-B1N ihen loi QL = ea querv -list upon t e subworkspace ol QUERY-LISTS-BIN do delete QL call El .D-BIOENTITY-DEFINITIONS-PROC () call CREATE-QU Y-l.ISTS-PROC ( ) lor Ql = each querv -li .1 upon the subworkspace ol QUERY-LI STS-BIN do CL = ihe l ei-coπiponeni-class ot QL. it ihere exists a hiocniiiv EC lhat is ol the class named by CL I hen loi EC = each bioeninv ihal is ol the class named bv CL do call FIND N AMED-BIOENTITIES -WITH COMPONENT-PROC ( EC QL w m i conc lude ihal the lenchi ot Ql = ihe numbei ol elements in Ql c.ll COMPI ETE-QUERY-TABLE-PKOC i win i. call CREATE- AUMLIARY-QUERY-ARRAYS-PROC ( w in), deactiv ate the subworkspace ol QUERY-ARRAYS-BIN. activate the subvvoikspace ol QUERY-ARRAYS-BIN iniomi ihe opeiaioi thai The masier querv lists have been completed TABLE 109 ETND-BlOENTITY-DEFINIT_ONS-PROC 0 lor B = each uil-goio-workspace-buuon upon ihe subvvoikspace ol BIOENTITIES do lor B l = each uil-goio-woi kspjce-builon upon ihe subvvoikspace ol B do il there exists an objeci-deliniiion upon the subvvoikspace ol B l then loi OD = each obieα-definilion upon the subvv ikspace ol B l do call CREATE-QUF O -ARRAY-PROC (OD) lor B2 = each uil-goio-workspace-buiion upon ihe subworkspace ol B l do il iheie exi ts an obiecl-detiniiion upon Ihe subworkspace ot B2 ihen lor OD = each obiect -definn ion upon ie subvvoikspace ol B2 do allow oilier pnxessinc. call CREATE -QUERΫ-ARRAY-PKOC (OD) else lor B " "- = each uil-goto-workspacc-bullon upon the subworkspace ol B2 do il Ihere exisis an ohicci-delmiiioπ upon ihe subworkspace ol Bl ihen lor ( )D = each obied-definition upon the subworkspace ol B do call CREATF QL ' FRY- ARR AY-PROC (OD * TABLE 1 10 CREATE-yUERY-ARRAY-PROC (MC: cla.ss obiect-definiuon) SC = symbol (die text ol die superior-class ol MC). SW = die subworkspace ol query-arrays-bin case ( SC) ol protein-site : create a querv-_ιrτav MA. iransler MA ' to SW ai (- 160. -265 ). CL = the text ol die class-name ol MC. chance the text ol die maior-clas f MA to "protein-site ' . change die text ol die rel-component-class ol MA lo "| CL]". change die name ol MA to symbol <"[CL]-quer -arrav "). protein-modified-group . create a querv-arrav MA. iransler MA ' to SW at (- 160. -265 ). CL = die text ot die class-name of MC: change die text ol die maior-class of MA lo "protein-modified-group" change die chance the protein-moul: create a querv-arrav MA. transtcr MA ' lo SW al (- 160. - 140). CL = the text ol die class-name of MC. change die text ol die maior-class ol MA lo "proiein-πiouf". ch-ince die text ol die rel-component-class ol MA to "[CL]". change die name of MA to symbol ("|CL]-query-arτav " ). protein-domain create a querv-arrav MA. iransler MA ' lo SW at I- 160. -10): CL = the text ( the class-name of MC. change die text ol die maior-class of MA to "protein-domain". ch.ιnge die text ol ihe rcl-component-class of MA lo " |CL]". chance die name of MA to symbol ("|CL]-query-arτav ' ). protein create a querv-arrav MA. iransler MA ' io SW at (- 160. 120). CL = the text ot die class-name ol MC: ch;ιnge the text ol die maior-class of MA to "proiein " . chance die text ol the rel-componeni-class of MA to "[CL]". chance die name ol MA to symbol ("|CL)-querv -arrav " i. heter. mol.complcx create a query -array MA. iransler MA lo SW at (- 160. 245 ). CL = die text ol die class-name of MC. chance die lext ol the maior-class ot MA lo "heter mol complex". change die text ol die rel-component-class of MA to "[CL]". chance die name ol MA lo symbol ("[CLJ-query-arrav " ). ilna-component . create a qucrv-arτav MA. iransler MA ' to SW at (- 160. 370). CL = die lext of die class-name of MC. change the text ol the maior-class ol MA lo "diia-component" . chance die lext ol ihc rel-coinpoiicni-class ol A to "[CL]". clvange die name ol MA to symbol ( "|CL]-query-arrav ' ). nucleic-acid create a querv-arrav MA. iransler MA io SW al (- 160. 370). CL = die text ol die class-name of MC. change the text i .1 die maior-class of MA to "nucleic-acid". chance die text ol die rel-component-class ol MA to " [CL]". change die name ol MA lo symbol ( "|CL]-quer -array ' ι. otnerwise allow other pr< xessinc. /tf_? TABLE 1 1 1 CREATE-QUERY-LISTS-PROC () SW = live subworkspace ol QUERY-ARRAYS-BIN : for QA = each query-array upon SW do allow odier processing: QAN = live name or QA: create a qucrv-lisl QL: transfer QL to SW at (nviddle-x(QA). middlc-y (QA)): change die text of live rel-array of QL lo "(QA. -]": chance the lexi of die rel-component-class of QL lo "|ιhe ref- component-class of QA]": TABLE 1 12 F1ND-NAMED-BIOENTITIES-W1TH-COMPONENT-PROC (EC: class bioeniiiy QL: clas.s query-list, win: class window) if EC has a name ihen call SEEK -BIOENTITY-COPIES-PROC (EC. QL. win) else allow other proccssine: SECN = call FIND-NAMED-BIOENTITY (EC. win): allow other processing: SEC = ihc bii ventitv named bv SECN: call SEEK-BIOENTITY-COPLES-PROC (SEC. QL. win): reium: TABLE 1 13 FIND-NAMED-BIOENTITY (E: class bioeniiiy. win: class window) = (symbol ) SEI = the object superior to the workspace of E: if SEI is not a biocnϋty then return live symbol none else if SEI has a name then return the name of SEI else SE2 = die object superior lo ihc workspace of SEI : if SE2 is not a bioentity then return ihe symbol none else if SE2 has a name ihen return die name of SE2 else SE3 = die object superior to die workspace of SE2: if SE3 is not a bioentity then reiurn Uve symbol none else il SE3 has a name then return die name of SE3 else SE4 = die object superior lo die workspace o SE3. if SE4 is noi a bioentity dien return die symbol none else if SE4 has a name ihen return the name of SE4 else SE5 = ihe obje l superior lo the workspace of SE4: il SE5 is not a bioentity then return the symbol none else if SE5 has a name ihen reiurn ihc name of SE5 else SE6 = die object superior lo Ihe workspace of SE5: if SE6 is noi a bioeniiiy then return the symbol none else if SE6 has a name dven return die name of SE6: / < /? TABLE 114 SEI- K BIOENITΪ.' COPIES I'ROC (SE class hioenlilv SEL ciassqueiv si win das window) EN svmhol = ihe name ol SE insert EN at the end ol llie svmbol si SEL Cl = the class ol SE il SF is a PROTEIN-MOTIF Ihen il there exisis a protein-molit CSE lhat is ot the class named bv CL such ihal I ihe text ol Ihe inasier-bioenlitv ol CSE = [EN] ) then lor CSE = each proiein-molil thai is ol ihe class named bv CL do allow other processing il the lexi ol Ihe master-bioeniuv of CSF = (EN] ihen call FIND NAMED BIOENTITIES WITH -COMPONENT PROC (CSE SEL. wmi il SE is a I'ROTFIN DOMAIN Ihen il theie exi ts a pi iein-domain CSE thai is ot the class named bv CL such thai (ihe ol the master hioenniv ol CSE = [FN] ) ihen lor CSE = each protein-domain ihal i ol ihe cl ss named bv CL do allow oiher processing it ihe lexlol ihe master-hιι .nlitv ot CSF = [EN] then call FIND NAMED-BIOENTITIES WITH COMPONENT-PROC CSF SEL. win) else il SE is a SMALL COM1 'ONFNT dien il there exists a small-component CSF thai is ol the class named bv CL such that (llie text ol llie masier-bioeniuv ot CSE = [EN] ) then lor CSE = each small component that is ol the class named bv CL do allow oilier processing il Ihe lexi t the asier bioenlitv ol CSE = |EN| then call FIND-NAME -BIOENTITIES WITH COMPONFNT-PROC (CSF SEL win) else il SF is a DNA COMIONFNT then il there exisis a dna-componenl CSF thai is of the dass named bv CL such thai (the lexi ol llie masier hioenlilv ol CSE = |EN] ) then loi CSF _ ach dna-componenl thai i ol Ihe class named bv CL do allow oilier processing il ihe ol llie masier hioenniv ot CSF = [EN] ihen call FIND-NAMED BIOENTITIES WITH COMIONFNT I'RtK (CSE SEL win) else it SE is a HETFR MOL COMPL Fλ then il there exists a heter mol complex CSE thai is ol the class named bv L such thai (the text ol the masler-bioentilv ol CSE = [EN1 ) ihen lor CSE = each heier mol complex lhat is ol the lass named bv CL allow oilier processing il the lexi ol the masier bioenlitv ol CSE = [EN] ihen call FIND NAMED BIOENTITIES WITH COMIONFNT PR(K it SF SEL wini else il SF is a PROTEIN ihen il Ihere exists a protein CSF Ihal is ol the class named bv CL such ihal (llie lexi ol llie masier bioenlitv ol CSE = [EN] ) ihen lor CSF = each proietn ihal is ol the class named bv CL do allow oiher processing il ihe text ol the masiei bioenlitv ol CSF = [FN1 then call FIND NAMED BI ENT1TIFS WITH COM I 'ON ENT- ROC (tSF SEL win il SF is a NUCLEIC-ACID then it there exists a nucleic acid CSF thai is ol the class named bv Cl such that (llie text ol the master hioenlilv ol CSF = [FN] ) Ihen lor CSF = each nucleic acid ihal is ol the class named bv CL do allow other proeessmε n the lexi ol the masier hioenniv ol CSF = |EN] Ihen call FIND NAMED BI ENT.T1FS WITH COMIONENT PROC it SE SEI wmi else il SEisa FMBRANElhen il theie exisis a membrane CSF lhat is ol ihe class named bv CL such that (the text ol the masier bioenlitv ol CSF = |EN] ) ihen lor CSE = each membrane Ihal is ol the class named bv CL do allow oilier processine il ihe lexi ol the master hioenniv of CSF = [EN1 dien call FIND NAMFD BIOFNTITIES ITH COMIONENT I'RtK ( ( SF SEL wmi else il SF is a BIOENTITY then il there exists a bioenlitv CSF thai is ol the class named bv CL such thai ( ihc loxl ol ihe masier hioenniv ol CSF = [EN1 I ihen lor CSF = each hioenniv ihal is ol ihe class named bv CL o allow oilier processing il the lext ol the masier bioenlitv ol CSF = |FN1 ihen call FIND NAMED BIOF -T-TiFS WITH COMIONFNT l'R ( X (CSF SEL wmi leiurn /≤Ό TABLE 1 15 COMPLETE-QUERY -TABLE-PROC (w in class g2-v. ii.do_ ) ASW = die subworkspace of QUERY-ARRAYS-BIN: LSW = die subworkspace ol QUERY-LISTS-BIN. il diere exists a quer -list upon LSW dien lor QL = each query-list upon LSW do il die lenght ol QL > 0 dien il diere exists a query-array QA upon ASW such that (QA is die same object as die query-array named by die ret -array ol QL) dien allow- odier processing. change die array -length of QA lo ihe lenglu of QL: lor S = each symbol in QL do IV = die text ol the initial-v alues of QA. change d e text of the lniual-values of QA to "f IV]. [S] ": IV = omit-lrom-texi (die lexi ol die initial-values of QA. 1.6): chance die text of die initial- values of QA lo "[IV]": make QA permanent. TABLE 1 16 a sup-et-aπav Names A-HELIX-M TIF-QUERY-ARRAY Array length 28 Element t pe symbol Iniual values a helix. omain. c. gh.ma. prolactin.ma. I somatolactin. a. m epo ma. ιl2.ma. m.ilό.ma. m c cst ma. c mgt a. ι!6 a. e csf.πia. m.lil a. os ma. r.cntt.ma. lil ' .ma. m.ιl4.ma. ιl3.ma. m.gm csl .ma. ιl5.ma. ιl4.ma. il. .ma. i!3.ma. gm csl ' .ma. m ιI7.ma. rn.il9.ma. ιI7.ma. ιl9.ma. a.lielix.motil.mc Rel component class a-helix-motit Maior class pπ-iein-mouf a querv-list Names A-HELIX-MOTIF-QUERY-LIST Element type symbol Allow duplicate elements ' no Ret component class a-helix-mouf Ret array a-helix-motif -query -array Lcnelii 2_ TABLE 1 17 CREATE-AUXILIARY-QUERY-ARRAYS-PROC (win: class window > SW = die subworkspace ol QUERY-ARRAYS-BIN create a querv -arrav MA. iransler MA io SW at (- 160. -390): cliance die name ol MA to the symbol no-group-selecuon-quer -array, make MA permanent, create a querv -arrav MA. transfer MA io SW at (-160. -390). change die name of MA to die symbol no-moiif-selecuon -querv -array , make MA permanent, create a querv -arrav MA. transfer MA " to SW at (- 160. -390). cliance die name ol " MA to the symbol no-domain-selection-query-arra . make MA permanent: create a querv- -arrav MA. traiisler MA io SW at (- 160. -390). c iange die name ol MA to die symbol no-subunii-seleciioii-quer -array , make MA permanent. / I TABLE 1 18 1NIT-ICONS-CALLBACK (button class button, w in class vv indow . panel : class sclecuoii-panel ) call INIT-BR-ICONS-PROC ( ). call INIT-BP-1CONS-PR C ( ). retuπi INIT-BR-ICONS-PROC ( ) lor BR = each biorcservoir do it die sub rkspace ol BR exists dien allow odier pπ _essιng. WS = die subworkspace ol BR: P = die biopool upon WS: for GL = each c-graph-link connected to P do change die core siπpe -color of GL to transparent, il there exists a c -graph-tracer upon WS dien SG = d e c-scaled-br-graph-iracer connected lo P. move SG to (lelt -edge(P) - 8. mιddle-y(P) . 1 11. AG _ die c-absolute-br-craph-tracer connected lo P move AG to (lelt -edge(P) - 8. mιddle-y(P) - 10). CH = die c-nr-chaiiiinig-iracer connected to P. move CH lo (rιglιt-cdge(P) + 7. mιddle-y(P)). change die si/e ol WS lo minimum, make WS permanent. INIT-BP-ICONS-PROC O lor BP = each bioprocess do il die subworkspace ot BP exisis ihen allow odier processing. WS = die subworkspace of BP. E = ihe bioeiigine upon WS. tor GL = each c-graph-link connccied to E do change the core stripe -color ol GL to transparent. ST = die -sealed-hp-graph-traccr connected to E. move ST to (leli-edgc .E) - 9. mιddle-y (E) + 1 1 ). CH = die c-bp-cl uninig-iraccr connected lo E. move CH lo ( lell -edgelE) - 9. πιιddle-y (E) - 1 1 ). UP = the c-up-padi-iracer connected to E. mov e UP to (πght-c'dge(E) + 9. mιddle-y(E) + 1 1 ) DN = die c-dow -pat -tracer connected lo E. move DN lo tπght-edge(E) + 9. middle-uE) - 1 1 1 it diere exists a hiorcaciani-posi upon WS dien lor RP = each biorcacuini-posl upon WS do R = die bioreactant connected lo RP. move RP lo ( letl -cdge(R) - . πiuklle-yi R).. il diere exists a hioproduct-posi upon WS dien lor PP = each bioproduct-post upon WS do P = die bioproduct connected to PP. move PP to (right -edge(P) + 4. nnddle-y(P)). change die sue ol WS to minimum, make WS permanent. TABLE 1 18 - ALL-1NIT-CALLBAC ( builon class button w in class w indow , panel class sclccuon-pancl ) call NAV1G-IN1T-PROC (w m). call SIMUL-IN1T-PR C (win). call INIT-BR-ICONS-PROC 0. call 1NIT-BP-ICONS-PR C ( ). retuπi l≤2~ TABLE 1 19 for any biomodel BM whenever BM is moved bv ihe user then start BIOMODEL-WS-CHECK-PROC (BM) BIOMODEL-WS-CHECK-PROC (BM: class biomodel) WS = die workspace of BM: if there is a title upon WS and BM has a SW and there is a title upon the SW of BM then: T = the title upon the SW of BM: new-label = "<the label of BM>- <the label ol " the title upon WS>": if new-label /= the label of T then: conclude that the label of T = new-label: call REMOVE-BIOMODEL-CONTAINING-PROC (BM): call BIOMODEL-INITIALIZATION-PROC (BM): REMOVE-BIOMODEL-CONTAINING-PROC (BM: class biomodel) WS = dve workspace of BM: for each biomodel BM I that is bm-contained-in BM do for each biomodel CBM llvat is w-c iiiainer-of-bni BM do conclude dvat BM I is not B -CONTAINED- IS CBM: for each bioprocess BP that is bp-cot in d-iii BM do for each biomodel CBM lhat is the-ctmtainer-of-bni BM do conclude lhat BP is not BP-CONTAINED-IN CBM: for each biorescrvoir BR lhat is br-conιained-m BM do for each biomodel CBM that is the-cυiuamer-of-bm BM do conclude that BR is not BR- ONTAINED- IS CBM: for each biomodel CBM that is i - o ainer-oj-bm BM do conclude lhat BM is not BM -CONTAINED- IS CBM: if WS has a superior iicm S and S is a biomodel ihen: BM2 = the biomodel superior lo WS: conclude lhat BM is BM- CONTAINE -IN BM2: for each hioniodel CBM lhat is ihe-coniainer-of-bm BM2 do conclude lhat BM is BM-COSTAISED-IS CBM: return iS TABLE 120 an uscr-nvenu-choicc Label details Applicable class bioprocess Condition the subworkspace ol the item exists Action start DETAILS-BP-PROC (the item, this window ) DETAILS-BP-PROC (BP: class bioprocess. WIN class window ) it the subw rkspace ol BP exists then SW = the subworkspace ol BP. it the toggle-state ot BP is hide then. il the status ol bP is available then conclude lhat the status ol bP is selected, activate SW. SW W else il die toggle-state ol BP is show then conclude that the toggle-state ol BP is hide, change the status-color ol BP to slate-blue, it the status ot bP is selected then conclude that the status ot bP is a ailable, deactivate SW . else it the masier-bioprocess ol BP has a value then call BP-MASTER-DETAILS-PROC (BP. wim else return BP-MASTER-DETAILS-PROC (BP. class bioprocess. win class indow » MA = the bioprocess named b> ihc mastcr-bioprocess ol BP il the toggle-state ol BP is hide then conclude that die toggle-state ol BP is show . it the subw rkspace ot the item named b\ the mastcr-bioprocess ol BP exists then SW = the subworkspace ol MA change the size ol SW to minimum. show * SW at lull scale with its center at the center ot the screen, conclude that the toggle-state ol MA is show else it the toggle-state ol BP is show then conclu e thai the toggle-state ol BP is hide, conclude that die loggle-staie ol MA is iiide. hide the subw orkspace ol MA on win. /_ * . TABLE 121 an user-menu-choice Label details .-^ " /ilcaiuc ciα-ss rc π ^'lι Condition none Action staπ DETAILS-B -PROC ( the item, this vv indow ι DETAILS-BR-PROC (BR: class bioreservoir. win: cla.ss window) if the subworkspace of Br exists then SW = the subworkspace of BR: if the loggle-staie of BR is hide then change the staius-color icon-color of BR to brown: conclude that the toggle-state of BR is show: CL = the br-chaininig-tracer connected to the biopool upon SW: SG = the scaled- br-graph-tracer connccied to the biopool upon SW: AG = the absolute-hr-graph-tracer connected to the biopool upon SW: move CL lo (nght-edgc. P) + 6. middle-y(P)): move SG to ( left _dge( P) - 8. middle-y(P) + 1 1): move AG to ( left -edeei P) - 8. middle-ytP) - 10): change the size of SW to minimum: show the subworkspace of BR on win at full scale w ith its bottom left comer 200 units to the riaht of the center of the screen: else conclude thai the toggle-stale of BR is hide: change the status-color icon-color of BR to medium-aquamaπne: hide ihe subworkspace of BR on win: else il " the master-bioprocess of BP has a value then call BR-MASTER-DETAILS-PROC ( BP. win else return BR-MASTER-DETAILS-PROC ( BR: class bioreservoir. win: class w indow i MA = the bioreservoir named by the masier-bioreservoir of BR: if the loεgle-siate ol BR is hide ihen conclude lhat the loggle-siaie of BR is show: if the subworkspace of the item named by the masier-bioreservoir of BR exists then SW = the subworkspace of MA: change ihe size oi SW ιo minimum: sho SW at full scale with iis center at the center of the screen: conclude that tlie toggle-siate of MA is show: if the text of the user-mode of win /= "simulation" then chance the status-color icon-color ol " MA to brown: else conclude thai the toggle-siate of BR is hide: conclude lhat the toggle-state of MA is hide: hide the sub rkspace of MA on win: if the lexi of the user-mode of win /= "simulation" then cliance the siatus-color icon-color of MA lo slate-blue. TABLE ι:: an user-menu-choice Label details Applicable class complex-hioeπiiiy Condition none Action stan ET-DETA1LS-PR C (the item, this window ι ET-DETAILS-PROC l EN: class complex-bioeniiiy. W: class window i if ihe sub rkspace of EN exisis then view = the subworkspace of EN if the toggle-siate of EN is hide then conclude that the toggle-state of EN is show: show view at the center of the screen : if the master-bioentilv of the item has a value then if the bioentity named by the masier-bu .entity oi EN ha.s a SW then master-view = the subworkspace of the bioentity named by the masier-bioeniity of EN. change the size oi master-view to minimum: show master-view ai the center of the screen: else if ihe loggle-siaie of EN is show then conclude that the toggle-stale of EN is hide: .nde niasier-view o\\ W return. ι≤5 TABLE 1 3 an user-menu -choice Label show-br Applicable class biorole-posi Condition die uem has a name Action Stan ROLEPOST-SHOW-BR-PROC ( llie item, dns windo ) ROLEPOST-SHOW-BR-PROC (posi. class biorole-posi. W class w indow) BP = ihc bioprocess superior to die workspace ot post: it post has a name d en BR = the bioreservoir named by the rel-bioreservoir of post else il diere exists a biorcservoir ABR such that ( ABR has no name and the masier-bioreservoir ol ABR has a current value and the masier-bioreserv oir ι it AB R = live ref-bioreserv oir of post ) dien BR = ABR change the size ol the subworkspace ol BP to mini mu . case (the toggle-state ol post ) ol show: change die color-pattern ol post so dial light-color is dim- gray dark-color is light-grav conclude dial the toggle-state ol post ts hide, case (the class ol post) ol biorcaciant-posi . show the subworkspace ol BR on W at lull scale with its center 400 units to the let t ol the center ol live screen, clvange die color-pattern ol post so that w hite-color = die sy mho I black, bioproduct-post show the subworkspace ol BR on W at lull scale with us center 400 units to the right ol the center ot ihe screen, hide: chance the color-pattern ol post so that light-color is lighi-gray . dark-color is dun-gray . conclude that die loggle-staic ol post is show . hide the subworkspace ol BR on W. ii ihe class ol post is bioreaclant-post then chan e the color-pattern ol posi so that white-color = the sv mbol while. TABLE 124 an user-menu-choice Label show-bp Applicable class biopool-post Condition the uem has a name and ihe rel -bioprocess ot the Action sian POOLPOST-SHOW-BP-PROC (the uem dns window ) POOLPOST-SHOW-BP-PROC (post, class biopool-posi. w in c lass w indow i BP = the biopn _ess named by the rel -bioprocess ol posi chance die si/e ol the subw orkspace ot B P to minimum, case (the loggle-staic ol post ) ot show • change ie color-palicm ol posi so dial light-color is dim-crav dark-color is hght-gra> . while-color = the symbol black conclude dial ihe loggle-staic ol post is hide. case (the class ol post ) ol biopool -p-post show the subw orkspace ol BP on W at lull scale idi us center 2S0 units abov e the center ol the screen, biopool -r-post. show the subworkspace ol BP on W al lull scale with its cenier 280 units below the center ol the screen hide. change the color-pattern ol post so dial light-color is licht-crav dark-color is dim-gray . v hue-color = the sy mbol w hite conclude thai the toggle-state ol posi is show hide the subworkspace ol BP on W lS<f TABLE 125 an user-menu-choice Label bioentity Applicable class biorescrvoir Condiuon the rcl-bioeniity of die item has a value Action change ie size ot the subworkspace SW ol Uie bioentity named by the rel -bioeniiiy of ϊlve uem to minimum and show SW on win at the center ol die screen. an user-menu-choice Label bioeniiiy Applicable class biopool Condiuon the rel-biociiiitv ol Uve biorcservoir superior to ihe workspace ol die it m has a value Acuon change the size ol the subworkspace SW of the ref-biorescrvoir superior to ihc workspace ol the uem to minimum and show SW on this window at the center ol ihe screen an user-menu-choice Label bioenlitv Applicable class biorole-obiect Condition ihc rel-bioenuty ol ie bioreservoir superior lo ihc biopool connected lo die uem has a value Action change the size ol the subworkspace SW ol die ref-biocnuiv ol die bioreser oir superior to the biopool connected to the item to minimum and show SW on ilns window ai the center ol die screen TABLE 126 an user-menu-choice Names none Label show-re fcrcnccs Applicable class biorcservoir Condiuon none Action start SHOW-REFERENCES-OF-ARRAY-PROC (ihe item, this window ) SHOW-PvEFERENCES-OF-ARRAY-PROC (BR: class bioreservoir. w : class window i arrav = the rclerenccs-arrav lhat cives die relerences ol BR. BIN = the subworkspace όl REFERENCES-BIN. . _. ( ). > = . 11 ihe array-length of array /= 0 dien create a orkspace WS by cloning die subworkspace ol REFERENCE-WS. lor rcl-button = each go-to-sub s-button upon BIN do S W = the subworkspace ol rel-bution: lor R = each cabe-rclercncc upon SW do tor T = each tcxl in array do it T /= "" and Uie shoπ-ret of R = T then create a cabe-rclcrcnce R l by cloning R. iransler R 1 to WS at ( . > ). y = 0: change the size ol WS to minimum, show WS on win at die center of the screen: 151 TABLE 127 CREATE-GENERAL-STRUCTURE-SELECTION-PANEL -CALLBACK ( menu class menu-option win class window) md = call create-messace -dialoe I md . ' Processine . ihc sv mbol exira-larce. w in. 0. 0) panel = call clone-p_ιcflMASTCR-GENER. .L-SOWCTLH<E-QUERY-P\NEL). SW = the subworkspace ot panel call SET-RADIO-BOX-ID-PROC ( ceneral-siruciure-panel . GENERAL-STRUCTURE-QUERY-PANEL-radio-bo.x . SW. wm) tl there exists a uil-medium-iext-pushbutu .ι de upon SW such diat (the id ot d = de") dien change the text ol die callback ot de to DELETE-QUERY-PANEL-C ALLB ACK show SW on w in ai die center ol the screen delete md retuπi TABLE 128 SET-R ADIO-BOX-ID-PROC (r-id text, rb-id text. SW class w orkspace w in class window ) tl there exists a radio-button r upon SW such that (the id ot r = r-id) dien rb = ihe radio-box ial is ihe-croup-masier-ot r urb-ni = call unique-id ( |rb-ιdl ) conclude dial die id ot rb = [urb-id] retuπi. GET-RADIO-BOX-ID-PROC ( r-id text. SW class workspace win class w indow ) = l v alue ) il there exists a radio-huilon r upon SW such dial (the id ol r = r-id) then rb = die adio-box lhat is dιe-groιφ-niasιer -ol r reiuπi |the id ol rb[ TABLE 129 SELECT-GENERAL-STRUCTURE-QUERY-PANEL-CALLBACK (button class button win class w indow, dig class query -panel) SW = die subw orkspace ol dig md = call creaie-messace-dialoc ( md ' Processin ihe sv mbol exira-larce. m 0 0) rb-ιιl = call GET-RADIO-BOX-ID-PROC < general- sirueiure-panel SW w in) type = c.Jl gel -radio-box-v lue (dig. rb-id) case ( iv pe ) oi suhunits MP = MASTER -SUBUNITS-QUERY-PANEL. domains MP = MASTER-DOMAINS-QUERY-PANEL mot n s MP = M ASTER-MOTIFS-QUERY-PANEL croups " MP = M STER-GROUPS-QUERY-PANEL subuniis-subunits MP = MASTER -SUBUNITS-SL'BUNITS-QUERY-PANEL domains-domains MP = MASTER-D()MAINS-D< )M.ALNS -QUERY-P. NEL domains-monls MP = MAS TER-DOMAINS-MOTIFS-QUERY-PANEL domains-croups MP = MASTER-DOMAINS-GR UPS-QUERY-P ANEL moiiis-moiits MP = MASTER-MOTIFS MOTIFS-QUERY-PANEL moni -croups MP = MASTER-MOTIFS -GROUPS-QUERY-PANEL croups-croups ' MP = MASTER-GROUPS-GROUPS-QUERY-PANEL panel = call clone-panel (MP) call CREATE-GENERAL-QUERY-PANEL-PROC (tvpe. panel, mi show die subworkspace ol dig vv idn its bottom right corner at die bottom right comer ot ihe screen show die subworkspace ol p.uiel at die center ol the screen delete md reiuπ. ι$s TABLE li . CREATE-GENERAL-QUERY-PANEL-PROC (lype: symbol, panel: class query-panel, win : class window) SW = the subworkspace ot panel: it diere exists a radio-button B upon SW such thai (the id of B = "subunits " ) then call SET- RADIO BOX-ID-PROC ("subunits " . "3-BR-[ type " ]-QUER , l'-radιo-box " . SW. w in), il diere exists a radio-button B upon SW such that (the i oi " B = " domains") dien call SET-RADIO-BOX-ID-PROC ( "domains". "4-BR-[type]-QUERY-.adιo-b_x " . SW. win), it there exists a radio-buiton B upon SW such that (the id ot B = " motils " ) then call SET-RADIO-BOX-ID-PROC ("motifs". " 5-BR-ltype]-QUERY- radio-box " . SW. win), il there exists a radio-buiton B upon SW such diat (the id ol " B = " croups " ) dien call SET-RADIO-BOX-ID-PROC ("groups". "6-BR-(type)-QUERY-radιo-box". SW. win), if there exists a radio -button B upon SW such that (the id of B = "subunιts-2") dien call SET-RADK .-BOX-ID-PROC ( " subuniis " . " 3-BR-|ιypel-QUERY-radιo -box " . SW. win), il there exists a radio-bution B upon SW such lhat (the id of B = " domaιns-2") then call SET-RADIO-BOX-ID-PROC ( " domains " . " 4-BR-[ιype]-QUERY-radιo-box " . SW. win): il there exists a radio-button B upon SW such dvat (the id of B = " moιιfs-2") then call SET-RADIO-BOX-ID-PROC ("motifs " . "5-BR-[ιype]-QUERY-radιo-box " . SW. wmi. it there exists a radio-button B upon SW uch that ( ie id of B = " croups-2 " ) dien call SET-RADIO-BOX-ID-PROC ("groups " . "6-BR-|type]-QUERY-radιo-bo " . SW. win): tl there exists a texi-pushbution de upon SW such that (the id ol de = " de " ) d en change die text ol ϋie callback ol de to "DELETE-QUERY-PANEL-CALLBAC : show SW on win at the center oi the screen: retuπi: TABLE 131 QUERY-GENERAL-STRUCTURE-CALLBACK ( buuoii: class button, in : class window, panel: class query-panel) d = call uii-creaie-messace-dialoc < ' md". "Processine . ". the svmbol laree. ETL. TX2 = call QUERY-GENERAL-STRUCTURE-PROC (panel, win): create a Iree-iexi FT2. change the text ol FT2 to " [TX2] ' . conclude dial the scroll-nile cti ETL = TX2. conclude that FT2 is THE-TEST-ITEM-LIST -OF ETL: call CREATE -GENERAL-QUERY -OUTPUT-PANEL-PROC (ETL. FT2. panel, win): delete md. return. TABLE 132 QUERY-GENERAL-STRUCTURE-PROC (panel: cla.ss query -panel, w in : cla s window i = (class scroll-text-list. text) PN = ihe name ol panel. SW = the subworkspace ot panel. il diere exists a radio-button B upon SW such thai (the id of B = " subunits " ) then type I . PSA = call FIND-SPECIFIC -ARRAY-PROC ( " subunits " . panel, win) it diere exists a radio-bution B upon SW such that (the id ol B = " subunιιs-2 " ) then type2. PSA-2 = call FIND-SPECIFIC-ARRAY -PROC ( " subunits -2 " . panel, w in): . u diere exists a radio-button B upon SW such thai (the id of B = " domains") dien lype. . PDA = call FLND-SPECIFIC-ARRAY-PROC ("domains", panel, win), it diere exists a radio-buiton B upon SW such that (the id of B = "domaιιis-2") then type4. PDA-2 = call FLND-SPECIFIC-ARRAY-PROC ( " domaιns-2 " . panel, win): il there exists a radio-bution B upon SW such lhat (die id oi B = " motils " ) dien types. PM.A = call FIN -SPECIFIC-ARRAY-PROC ("motils". panel, win), it diere exists a radio-bution B upon SW uch diat (die id of B = " nιotιls-2 " ) then typ . . PMA-2 = call FIND-SPECIFIC -ARRAY-PROC ( " motιls-2 " . panel, w in), il there exists a radio-butii in B upon SW such lhat (die id ol B = ' croups " ) then ιypc7. PGA = call FIND-SPECIF1C-ARRAY-PR(X: ( " croups " , panel, w in ). ii there exists a radio-button B upon SW such thai (die id ot B = ' eroups-2 " ) then ivpeK. PG.A-2 = call FIND-SPECIFIC-AR AY-PROC ( " g.oups-2 " . panel, win). conunue next page I Si TABLE HI com il PSA exists then if PSA-2 exists ihen if there exists a s roll-texi-lisi ETL sudi that (ihe label ot ETL= [PN[-rypel-ιy e2-ETL ) then go to linal-rouune else ETL. TX2 = call MERGE-TWl .-STRUCTURE-LISTS-PROC (the svmbol subuniL the symbol subunit. iv pel. type2 PSA. PSA-2. panel, win) else TX2 = capιiali7e-words i proteins vv uh structures delined in ilus mixlule ihal contain [tv pel ] ). lor Tl = each svmbol in PSA do liiseit Tl at the end ol the text list ETL else il PDA exisis then it PDA-2 exists then il ihere exisis a scroll-iext-lisi ETL such lhat (the label ot ETL = |PN]-ιvr_l lype 4-ETL ) then go lo final -rouune else ETL. TX2 = call MERGF-TWO-STRUCTURE-I.ISTS-PROC (the s mbol domain, the s mbol domain, type " ?. ι>pe4. PDA PDA 2. panel, win) else if PMA exists then if Ihere exists a scroll-text-list ETL such lhat (the label ol ETL = [PN]-rvpeVrype _TL ' I then co 10 final-rouiine el._ ETL TX2 = call MERGE TWO-STRUCTURE-LISTS-PROC (the svmbol domain the svmbol mom iv pes. tvpes. PDA PMA panel in) else il PGA exist, then il there exists a scroll-text-list ETl such that (the label ol ETL = [PNl-tvpe .-ιvpe7-FTL ) then lo final-routine else ETL. TX2 = call C-MERGE-TvVO-STRUCTURE-LISTS-PR C line symbol domain, the symbol gioup type? type7. PDA. PGA panel, win) else TX2 = capitalize-words ( proteins with structuies detined in this module lhat contain [t e " .] ) forTI = each svmbol in PDA do niseπ Tl at the end ol the text list ETL else il PMA exists then il PMA-2 exists then il there exisLs a c-scτoll-ιexi-lisi ETL such that (the label ot ETL = ' |PN) r es-i peft-ETl. ) then so to final-rouiine else ETL. TX2 = call MERGE TWO-STRUCTURE -LISTS-PROC (ihe svmbol motit the symbol motil ιxpe5. ivpeb PMA PMA-2. panel, wm) el se¬ ll PGA exisis ϋien il ihere exists a scroll-iexi-hsi ETL su i Ihal (the lal _1 ol ETl = [PN] ) ihen to linal-rounne else ETL.TX2 = call MERGF-TΛVO-STRUCTURE LISTS PROC (the s mbol mom. llie svmbol group tvpes tvpe? PMA PGA panel win) else TX2 = capιlalι/e-words ( proteins with struαuies delined in Ihis module llui contain | t pes] j lor Tl = each symbol in PMA do mseπ Tl al the end ot the text hsi ETL else it PGA exists ihen il PGA-2 exists then il ihere exists a scroll-texi-list FTl su i that (the label of ETL = [PN| tv e? tvpe8-ETL ) then eo to final-rouune else ETL. TX2 = call MERGE TWO STRUCTURE-LISTS-PROC (the svmbol group the svmbol group tvpe?. tvpe.. PGA PGA-2 panel win) else TX2 = capιtali7e-words ( proteins with structures defined in this module that contain |type7| ι lor Tl = each sv mbol in PGA do insert Tl at the end ot the text lisi ETL ιeιuπιETI.TX2. linal-rouune TX2 = ιhescτoll-iιιle i ETL leiurnETI TX2 ib TABLE 1 . . FLND-SPECIFIC-ARRAY-PROC ( r-id text panel class query -panel win class window ι = ( sy mbol class query -arrav ) SW = die sub rkspace ol panel rb-id = call C-GET-UIL-RADIO-BOX -ID-PROC (r-id SW win), lype = call uil-get -radio-box -v lue (panel, rb-id), .ιπ_\-n_πιe = symbol( |type]-QUERY-ARRAY ) t n the c - uery -arrav named by array -name exists ihen QA = die c-querv -array named by arrav -name else inlorm the operator thai larray-nanie) does not exist . move QA t i iddle-x tQAι + 50 middie-y (QA)). reiurn tvpe QA TABLE 134 MERGE-TWO-STRUCTURE-LISTS-PROC ( tdg l symbol. tag2 sy mbol. ιypc4 sy mbol tvptό svmbol QA1 class query -arra . QA2 class query -array , panel class quer -panel win class window i = (class scroll-text-list. text) PN = die name ol panel ii there exisis a e-scroll-texi-list ETL such dial (die label ol ETL = [PN]-[typc4]-[type5]-ETL > dien co to exii-routine efse create a scroll-iexi- si ETL il type4 = sy mbol ( no-[ιa l ]-selectιon ) then TX2 = capiiah/e-vvords ( there are no structures delined in dns module iat contain [ιvpe5] ) eise TX2 = capiiali/c-words ( diere are no structures defined in dns module vat contain [ιype4] or |ιvpeS] j else il ιvpe4 = sv mbol ( no-[ta l |-selectιoιι ) dien TX2 = capitalize-w rds ( proteins w idi structures delined in this module dial contain |ι\pe5[ ) else TX2 = capitalize-words ( proteins widi structures delined in this module that contain i tvpcS] one is tound also coiiiainiiic ltypc4| ). lor T2 = each sv mbol in QA2 do liiseπ [T2] at the end oi die text list ETL el se¬ ll die arrd\ -length ol QA2 = 0 dien ii tvpe.S = sv mbol ( no-lidc2[-selectιon ) ihen TX2 = capitalize-words ( proieins widi structures delined in this nuxlule dvat contain (lype *4] ) else TX2 = capιtdlιze-words ( proteins w ith structures delined in this module dial contain [ιypc4| None w s tound also containing UypcSl ). lor Tl = each sv mbol in QA 1 do insen [Tl ] ai die end oi die text list ETL. else TX2 = capitalize-words ( proteins with structures defined in tins module that contain |ι\ pe4| and |ι p s l i l r Tl = each sv mbol in QA 1 do tor T2 = each sv bol in QA2 do it Tl = T2 then insert [Tl ] at the end ol die text list ETL. reiurn ETL TX2. exu-rouune TX2 = the scroll-title ol ETL --turn ETL TX2 /_»/ TABLE PS CREATE-GENERAL-QUERY-OUTPUT-PANEL-PROC (ETL class scroll-text-list. FT class Iree-texi die class query-panel, w in class w indo ) = (class query-panel) il there exists a querv-panel panel such dial (die text ot die id ol p;uιel = "|dιe label ol ETL]-QUERY-OUTPUT- PANEL") then o to final-rouune else create a quer -panel p:ιnel by doiiuig MASTER-MOLECULAR-QLΕRY-OUTPUT-PANEL iransler panel lo d e subworkspace ol UIL-dialo -bin at (0.0). SW = the subworkspace ot panel chance die text ol die id ol panel lo "[the label of ETL1-QUERY -OUTPUT-PANEL". iransler FT to SW at (0 90). make panel permanent. sa - call creaic-scroll-area-trom-hsi ("quer -general-scroll". 5. ETL). conclude that the allo -unselcet -ι I- selected-message of sa is true conclude that die allow-muliiple-simuluineous-selecuons ol sa is true. call add-obj-to-dialoc (panel, sa. 0. -30). change die text ol die uil-message-selecuon-meihod ot sa to query -message-selection' . ch.uιge the text ol die uil-message-unselection-mcdiod ol sa to quer -message-unseleciion chance die text ol ie ordeπnc-mediod ol sa to .dphabeuc' . ilc - tall crcaic-pushbuiton ("de". die svmbol DELETE-QUERY-PANEL-CALLBACK "DELETE", panel. 0 -145 ) go to linal-rouune luul-rouiinc change die si/e ol the subworkspace ol panel to minimum. show the subworkspace ot dig idi its lop right corner 40 units below die top πghl comer ot die screen show die sub orkspace ol panel on w in ith us center ^ 0 units to the left of die center ol the screen return p.uiel. TABLE 136 QUERY-MESS AGE-SELECTION-PROC ( MO class message-obiect. SA class scroll-area. in class window ) BON = s mbol ( ie text ol MO) BO = die hιo-ob|ect named by BON chance d e size ol die subworkspace ol BO to minimum. show die subworkspace ol BO on in with its center 00 units to live right ol die center ol the screen . QUERY-MESS AGE-UNSELECTION-PROC ( MO class message-obiect SA class scroll-area w in class windo ) BON = sy mbol (die lext ol MO) hide die subworkspace ol die bio-obiccl named bv BON on wm TABLE P7 DELETE-QUERY-PANEL-CALLBACK (button class button w class w indow , panel class dialoc i SW = dve subworkspace ol DIALOG-BIN md = call creaie-messace-dialog ( 'md". die sy mbol DELETE-MD-CALLBACK. "Processing die symbol exira-largc. w in. 0. 0). it there exists a scroll-tcxi-lisi that is a-list-assoeiaied-Uvdlc panel then lor L = each scroll-text-list dial is a-hst-associated-to-dlg panel do delete L. call delete -dialog (panel ) it diere exists a message-dialog ME upon SW dien lor md = each mcssace-dialoc upon SW do delete md /(, - TABLE 138 an user-menu-choice Label query-panels Applicable class bioreservoir Condiuon die sub orkspace ot the item exists Action staπ CREATE-BR-RELATED-SELECTION-PANEL-CALLBACK (die item, this vv mdow ι an user-menu-choice Label show- Applicable clas.s query-tracer Condition none Action stan CREATE-BR-RELATED-SELECTION-PANEL-CALLBACK (die bioreservoir supeπor 10 die workspace ot die item, this window) CREATE-BR-RELATED-SELECTION-PANEL-CALLBACK (BR: class bioreservoir. win: class window ι it noi (diere exists a bioreservoir DBR such that (DBR is a -downstream-biorcservoir-ol BR or DBR is an- upstream- bioreservoir-of BR)) then go to exu-rouune else create a message-dialog d. sei the text of die message upon die SW ot md to " Processing and show- ie SW of md on die current window: panel = call uil-clone-grobj (MASTER-BR-MOLECULAR-QUERY-PANEL). SW = die subworkspace ot panel: create a borderless-lree-iext FT : change the text of FT to " |ιhe name ol BR] " . transfer FT 10 SW at (60. 1 15 ). make panel permanent: call SET-RADIO-BOX-ID-PROC ( " hr-paner. "BR-RELATED-QUERY-PANEL-radio-bo " . SW. w in). it diere exists a lexi-pushbutton de upon SW such dial (ihe id ot de = " de " ) dien change the text ot the callback ot do to ' DELETE-QUERY-PANEL-CALLBACK '" . show the SW ol panel on win at (0. 0). change the text of the relaied-item ot panel to " [die name of BR] " . delete md. return: exu-rouune: create a message-dialog md. set the text ol the message upon die SW ol md in " There is no downstream bioreservoir oi [the name ol BR[ " . the symbol extra-large i. return: TABLE 13 _ SELECT-BR-RELATED-QUERY-PANEL-CALLBACK (button: class button, win : class w indow. dig- class query -panel) BR symbol = die related-ne ol dig. SW- class kb-w orkspace = die subworkspace ol dig. create a message-dialog md. set die text ol the message upon the SW ol md IO " Processing aιι_ show the SW of md on die current window at (0. 0). rb-id = call GET-RADIO-BOX-ID-PROC ( " hr-paner. SW. win): type = call gei-radio-hox-value (dig. rb-id): case (ivpe) ot lunciion: MP = MASTER-BR-FUNCTION-QUERY-P.ANEL: lunction-subuniis: MP = MASTER-BR-FUNCTION-SUBUNIT-QUERY-PANEL: tuncuon -domains: MP = MASTER-BR-FUNCTION-DOMAIN-QUERY-PANEL: luncuon-moiifs: MP = MASTER-BR-FUNCTION-MOTIF-QUERY-PANEL: luncuon-croups: MP = M ASTER-BR-FUNCTION-GROUP-QUERY-P.ANEL: tuncuon-domains-niotils: MP = MASTER-BR-FUNCTION-DOMAIN-MOΗF-QUERY-P.ANEL. luiicuon-locauon: MP = MASTER-BR-FUNCTION-LC .CATION-QUERY-PANEL: luncuon-location-subunits: MP = MASTER-BR-FUNCTION-LOCATION-SUBUNIT-QUERY-P.ANEL luncuon-location-domains: MP = MASTER-BR-FUNCΗON-LOCATION-DOM. AJN-QUERY-P.ANEL luiictioii-locauon-moiils: MP = MASTER-BR-FUNCTION-LOCATION-MOTIF-QUERY-PANEL. lunciion-location-eroups: MP = ASTER-BR-FUNCTK )N-L( )CATION-GR( )UP-QUERY-P,ANEL. lunciion-li ation-domains-mouis: MP = MASTER-BR-FUNCTION-LOCAT-ON-DOMAIN-MOTIF- QUERY-PANEL: panel = call clone- robj (MP): chance ihe text ol ie related-item ol panel to " |BRN| " . call S " ET-BR-RELATED-QUERY-PANEL-PROC (type, panel, win). how the subworkspace ol dig vv ith ns bottom right comer at the bottom right comer ol the screen, .now ihe sub orkspace oi panel at ihc center ol the screen: delete md / 3 TABLE 140 S-.T-BR-RELA " T_D-QUERY-PANF.L-PR-X " (lype. svmbol. panel clas queiv -panel, win class window ι BRN s mbol = the related-item ol panel SW class kb-vv rkspace = the subworkspace ot panel. cieaio αhoideilcss-tiee-lcxt FT and change the text of FT to ' |BRN[ ' an lianslei FT lo SW al (175.1 l()ι in.ike panel permanent il Ihere exisis a ladio-bulton B upon SW " sudi that (ihe id of B = " location ' ) then call SET-RADIO-BOX-ID-PROC ( location . -)-BR-|lvpe)-QUERY-radιo-.- . SW.wini. il there exists a radio-bution B upon SW " such thai (the id ol " B = ' direclion ' ) ihen call SF.T-RADIO-BOX-ID-PROC ( irection . " l-BR-[typel-QUERY-rjdιo-hov SW. win), il ihere e\κts a radio-buiton B upon SW " such that (the id of B = ' function ' ) ihen call C-SFT-RADIO-BOX-ID-PR C C luncuon " . _-BR-[type)-QUERY-radιo-ho \ . SW. win), il iheie exists a radio-button B upon SW such lhat (the id ol B = "' suhuni ; ' ) then call SET-RADIO-BOX-ID-PROC l suhunil. " . " ..-BR-[type|-QUERY -radio-bov . SW * . win) i Ihere exisi.s a radio-bution B upon S such thai (the id of B = " domains ' ) then call SET-RADIO-BOX-ID-PROC 1 domains ' . "l-BR-liypel-QUERY-adio-hox SW. win). it theie exists a radio-button B upon SW such thai (ihe id of B = ' motifs " ) then call SFT-RADIO-BO -ID-PROC Cmoiiis . " .-BR-[type|-QUERY -radio-box SW. wmi. il " there exists a radio-buiton B upon SW such thai l the id of B = " croups ' ) then call SET-RADIO-BOX-ID-PROC ( gioup. " 6- BR-[typo)-QUERY -radio-box SW. win), il ihere exisis a lexl-pushbuuon de upon SW sudi lhat (the id ol de = " de " ) then change the lext ot the callback ol de lo " DELETE-QUERY-PANEL-CALLBACK show panel on win al (0.0) TABLE 141 IXlWNSTRk.AM-QUERY-l.lSTS -CALLBACK (builon lass button, win class window, panel clas ueiv -panel i BR class bioicscivoii = the bioic'seivoii named I ihe lelaled-item ol panel cieale a message-dialog md. sol ihe lexi ol ihe me age upon llie SW ol md to Pu .essing and show ihe SW ol md on ihe curre i mdow call DOWNSTREAM-FUNCτiON-QUF.RY-l.ISTS-l'RO lBR. panel, win) delete md. TABLE 14; I X-WNSTOhA - FUNCTION-QUERY- ISTS -PROC (BR class b.ore.seuoii. panel class c-quei -panel, win cl ss window . BRN sv mbol = ihe name of BR. DAPL = call CREATE-BR-QUERY-LIST-PROC < DAPL " . panel, win). DAPBRL = call CREATE-BR-QUER Y-LIST-PRl X. C DAPBRL " . panel.w in i DEF1. = call CREATE-BR-QUERY-LIST-PROC < DEFL . panel, win) DEFBRI. = call CREATE-BR-QUERY-LIST-PROC ( DEFBRL . panel.w m) DCRI. = c ll CREATE-BR-QUERY-LIST-PROC i " DCRL . panel, win). DCRBRL = call CREATE-BR-QUERY-LIST-PROC < DCRBRL . panel.w in) DPKl. = call CREATE -BR-QUERY -l.IST-PROC < " DI'Kl. panel, mi. DPKBRI.-callC-CRF.ATE-BR-QUFRY-LlST-PROCl DPKBRL panel wmi DPPI. = call CREATE-BR-QUERY-LIST-PROC ( DPPL " . panel, win) DPPBRl = call CREATE-BR-QUERY-UST-PROC ( ' DPPBR1. " . panel MUD DTFI. = call CREATE-BR-QUERY-LIST-PROC ι DTFL . panel, win) DTFBRI. = call CREATE-BR-QUERY-LIST-PROC < DTFBRI. "" . panel, w i IX ' .I. - call CREATE-BR-QUERY-LIST-PROC ( ΪX.L " . panel, im IXiBRI =callC-CREATE-BR-QUERY-l.lST-PR(X ' ( DGBRL " . panel win) lor DBR = each bioieservoir thai is a-dow slieam-bioreservoir-olBR do il the biopool upon ihe subworkspace ol DBR exists then inseri |lhe name ol DBR] al llie end ol the levi hsi D PBRL P( ) = ihe biopool upon the subworkspace ol DBR. il there exists a bioreactani connected to PO then lor R = each bioreactani connected to PO do if R is a exlracell-hgand.r or R is a oxtrjcell-anlagonisl r or R is a ligand r or R is antagonist r ihen insert [ihe name ol DBR] at the end ol ihe lexi h.si DEFBRL. il R is a cell-receptor.r or R is a receptor r then insert [the name ol DBR| ai ihe end ol the lexi hsi DCRBRL il R is a prot.kinase.r then uiserl [ llie name ol DBR| " al the end ol ihe levi lisi DPKBRI. il R is a proι-pho<phala_.e r then insert |lhe name l DBR1 ' al llie end ol the text list DPPBRL il R is a iranscπplion-tacior r then insert |lhe name ol DBR| at the end oi ihe lexi li -l DTFBRI. il R is a gene r then insert |lhe name ol DBR| al ihe end ol llie lexi list IX.BRL 111 R is a mRNA r then insert | ihe name ol DBR] ' al Ihe end ol ihe lexi hsi DMRBRL ', call FU.I.-BR ET-LIST-PROC (DAPBRL. DAPL panel wini call FILL βR ET-LIST-PROC (DEFBRL. DEFL. panel, wini call FU.I.-BR ET-LIST-PROC (DCRBRL. DCRL. panel, wmi. _.ιll Fll.l.-BR ET-LIST-PROC I DPKBRI.. DPKL. panel, wim. call FI 1.1 -BR FT-LlST-PR(XιDPPBRI.. DPPL. panel, win) -ail Fll.l.-BR. ET-I.IST-PROClDTFBRL. DTFL. panel win). call FU.I.-BR ET-LIST-PROC i [X.BR1 DOL panel win) /of TABLE 141 CREATE-BR-QUERY-LIST-PROC (lbl lext. panel class quer -panel, win class window ) = (class scroll-iext-hsti PN s mbol = the name ol panel BRN sv bol = symbol tilie relaied-item l panel), if BRN is not none then il not (there exists a scroll-iext-list L sudi thai (llie label of L = [PN]-|lbl]-[BRN]") ) then creaie a scroll-iexi-lisi L conclude thai the label ot L = " [PN)-[lbl]-[BRN]"" iransler L to llie subworkspace ol safe-home-lor-lists at (-105.25) conclude that L is a-lιsι-asso_ιated-to-dlc panel.) return L else reiurn L TABLE 144 FILL-BR ET-LIST-PROC (BRL class scroll-texi-lisi. L class scroll -lexi-list. panel class query -panel, win cl ss window ) move BRL lo (US.10) if the number of elements in BRL >= 0 then tor T = eacli lexi in BRL do BRN = svmbol (T) BR = ihe bioreservoir named bv BRN il the rel-bioeniiiv of BR has a current v alue then EN = the biooiHiiv named bv the rel-bioentiiv ol BR inseii lllie name ol EN] al llie end of the text hsi L TABLE 145 QUERY-BR-RF.LATED-C.ALLB.ACK ibution class button, win class window, panel class query -panel I BRN sy bol = symbi il (live relaied-itemol panel) PN sy mbol = ie name ol panel. SW class kb- ork space = llie subworkspace ol panel il not (theie exists a scroll-text-list L such that (the label ol L = |PN]-DPKL-[BRN] or Uie label ol L = |PN]-UPKL-|BRN]" )) then create a message-dialog md. set the lexi ot ie niessace upon the SW ot d to ' Required inlorniaiion is not available Click on Downstream or Upstream and try lo query again and show the SW ol md on the cuπ out window aid) 0) lse create a message-dialog md. set the text of the message upon die SW of md to " Processing and show ie SW ol md on the curreni indow at tO.0). rb-idO = call GET-RADIO-BOX-ID-PROC Cdirecuon' . SW. win). uoii ) then tvpo2 = call _eι-radιo-box-value (panel. rb-ιd2) FL. FBRL = Mil GET-BR-FLTMCTION-LIST-PROC πypeO. ιype2. panel, win) if FBRL exisis then create a panel-iexi FT1 TX1 = capiiali/e-vvords ι bioReservoirs [typeO] ol [BRN[ that contain |tyρe2] ' ) change die ιexι of FT1 lo TX I create a panel-text FT2 if FL exists then il not (ihere exisis a radio-bution B upon SW such that ( the id of B = " subunit ' or the id of B = domains or die id of B = molds or the id ol B = " group ' )) then if there exisis a sc.oll-iexi-list EL such ihai (ihe label of EL = |PN]-|tvp_0]-[tvpe2]-ETL ) then ETL = EL else create a c-scroll-texι-lιst ETL conclude that the label of ETL = '[PN]-|iype )-|ιype2]-ETL' conclude thai ETL is a-hsi-associaied-io-dlg panel iransler ETL lo ihe subworkspace ol sate-lionie-lor-lists ai ( _).-24S). TX2 = capiialize-vvords ι lιype2| vvuh structures defined in this module thai are [lypeO] of |BRN1 ) for Tl = each lexi in FL do insert Tl at the end ol the text list ETL. else ETL. TX2 = call QUERY-BR-STRUCTURE-LISTS-PROC (typed typo2. FL. panel, wmi chance ihe lexi ol FT2 to "{ TX21 call CREATE-DOUBLE-QUERY-OUTPUT-PANEL-PROC (FBRL. ETL. FT1 ET2. panel, win) delete* md reiuπ ir ' TABLE 146 GET-BR-FUNCTION-LIST-PROC (lypc-2: symbol. iype3: symbol, panel: class query-panel, win : class window) = (class scroll-text- hsi. class scroll-text-list) PN: symbol = die name ot panel: BRN: symbol = die related-item ol panel, il type2 is downstream then case (type3) of extracellular-factors. lbl = "[PN]-DEFL-[BRN]": lblbr = "[PN]-DEFBRL-[BRN]". cell-receptors: Ibl = "[PN]-DCRL-| BRNl": lblbr = "[PN]-DCRBRL-[BRN]\ protein-kinases: lbl = "[PN]-DPKL-(BRN]". lblbr = "[PN]-DPKBRL-]BRN]": protein-phosphatases: lbl = "[PN]-DPPL-[BRN]". lblbr = "[PN]-DPPBRL-[ BRN] ". iran cripuon-factor lbl = "[PN]-DTFL-[ BRN] ": lblbr = '[PNJ-DTFBRL-I BRN]". scnes lbl = "[PN]-DGL-|BRN]": lblbr = "[PN'-DGBRL-IBRN]": anv-protein: ' lbl _ "[PN]-DAPL-[BRN]" lblbr = "[PNI-DAPBRL-IBRN]". no-function-selecuon: transcπption-lactors lbl = '[PN]-UTFL-[BRN]\ lblbr= "[PNj-UTFBRL-IBRN]": cenes: lbl = "[PN]-UGL-[BRNl". lblbr= "[PN]-UGBRL-[BRN]". .inv-proiein: ' lbl = "[PN]-UAPL-[BRN]": lblbr = "[PN]-UAPBRL-| BRN] " . mv function-selection lbl = "[PN]-UNL-|BRNl". lblbr = "[PN]-UNBRL-[BRN]": if there exists a c-scroll-iexi-hsi FL such diat (die label of FL = lbl i dien move FL to (- 1 10. -280). il diere exists a c -scroll-text- list FBRL such diat (the label ol FBRL = lblbr) dien move FL to (-30. -280) . return FL. FBRL. _ * TABLE 147 QUERY-BR-STRUCTURE-LISTS-PROC (typed symbol. ιype2. symbol. FL: class scroll-text-list. panel: class query-panel, win : clas.s window ) = (class sc oll-ιexι-lιst. lexi) PN: symbol = the name of panel. SW: cla.ss kb-workspace = ihe subworkspace of panel: if ihere exists a radio-bution B upon SW such that ( llie id of B = ' " subunus") then ιype3. PSA = call FIND-SPECIFIC-ARRAY-PROC ("subuniis". panel, win), if there exists a radio-button B upon SW such that (the id of B = "subunιts-2") then type4. PSA-2 = call FIND-SPECIFIC-ARRAY-PROC ( "subunιls-2 '" . panel, win): if there exists a radio-buiton B upon SW such that (the id of B = "domains " ) then type5. PDA = call FIND-SPECIFIC-ARRAY-PROC ("domains " , panel, win), il there exists, a radio-buiton B upon SW such lhat ( ie id of B = "domaιns-2 ") then typeo. PDA-2 = call FIND-SPECIFIC-ARRAY-PROC f domaιns-2". panel, win); if there exists a radio-button B upon SW such that ( the id of B = "moufs") then ιype7. PMA = call FIND-SPECIFIC-ARRAY-PROC (" motifs ". panel, win), if there exists a radio-button B upon SW such that (llie id of B = "motιfs-2") then lypeβ. PMA-2 = call FIND-SPECIFIC-ARRAY-PROC rmolιfs-2". panel, win): if there exists a radio-button B upon SW such that (the id of B _ "croups") then ιype9. PGA - call FIND-SPECIFIC-ARRAY-PROC ( " groups ' . ' panel, win), if there exists a radio-button B upon SW such dial (ihe id of B = "croups-2") then type 10. PGA-2 = call FIND-SPECIFIC-ARRAY-PROC ("groups-2 " " . panel, win): if PSA exists then if PSA-2 exists then il there exists a scroll-iexi-lisi ETL such lhat (die label ol " ETL = " fPN]-[typeO]-[ιype2 ]-[type3]-[type4|-ETL ' ) ihen co lo final-rouiine else ETL. TX2 = call MERGE-BR-FLTX'CTION-STRUCTURE-STRUCTURE-PROC (the symbol subunit. the symbol subunu. ly peO. ιy pe2. ιype3. type4. FL. PSA. PSA-2. panel, win): else if there exists a e-se O 11-texι-lιsι ETL such that (ihc label ol ETL = "| PN]-[ιypeO]-[type2]-|ιypo3]-ETL") ihen go to final-routine else ETL. TX2 = call MERGE-BR-FUNCTION-STRUCTURE-PROC (llie symbol subunit. typeO. type2. type. FL. PSA. panel, wim. else if PDA exists then if PDA-2 exists then if there exists a c-.scroll-text-h.si ETL such that (the label of ETL = " [PNl-[t p_0]-[type2 ]-[type5]-[ιype6[-ETL " ) then co to final-routine else ETL. TX2 - call MERGE-BR-FUNCTION-STRUCTURE-STRUCTURE-PROC uhe symbol domain, ihe symbol domain. lypeO. ιypc2. type.* * , typeft. FL. PDA. PDA-2. panel, win) else if PMA exists ihen il ihere e isis a c-scroll-iext-lisi ETL such lhat ( the label ol ETL = "| PN |-[type5]-| type7]-ETL") then co lo final-routine else ETL. TX2 = call MERGE-BR-FUNCTION-STRUCTURE-STRUCTURE-PROC ( ihe symbol domain, ihe symbol moiif. ivpeO. ιype2. type. . ιype7. FL. PDA. PMA. panel, win) else if PGA exisis ihen if ihere exists a scroll-text-list ETL such that (ihe label of ETL = " [ PN |-[typeO]-[type2 ]-[iype5|-|ιypeyi-ETL " ) then go to filial-routine else ETL. TX2 = call MERGE-BR-FUNCTION-STRUCTURE-STRUCTURE-PROC ( the symbol domain, ihe symbol group. typeO. ιype2. typo5. types). FL. PDA. PGA. panel, win) else it ihere exists a c-scroll-text-list ETL such lhat (the label of ETL = "[ PN]-[typcO|-[type2]-[ιype5 ]-ETL " ) then go lo final-routine else ETL. TX2 = call MERGE-BR-FUNCTION-STRUCTURE-PROC ( the symbol domain. lypeO. typo2. type. . FL. PDA. panel, win i. else if PMA exists then if PMA-2 exists then if there exisis a scroll-text- list ETL such lhat tthe label of ETL = '| PN]-[typeO]-[typc*2 )-[ ιypc7]-[ ιypcS|-ETL ' ) ihen go lo final-rouiine else ETL. TX2 = call MERGE-BR-FUNCTION-STRUCTURE-STR UCTURE-PROC ( the symbol mom. ihe sy mbol mo . ty ped. ιype2. typo7. lype... FL. PMA. PM.A-2. panel, w in) __ continue /ώ-7 TABLE 147 com else il there exists a .scroll-text-list ETL such thai (the label ot ETL = ' |PN]-|t pcO)-|t e21-|ιyr_7[-ETL ' ) then co to final-routine else if PGA exists then it there exists a scroll-iexi-lisi ETL sudi ihal (the label of ETL = " [PN]-[ιypeO|-[rype2[-[typc7|-|ιype9)-ETL ) then co to final-routine else ETL. TX2 = call MERGE-BR-FUNCπON-STRUCTURE-STRUCTURE-PROC (the symbol mom. the svmbol croup. tvpeO. tvpe2. l e7. tvpc9. FT.. PMA. PGA. panel, win) else if there exists a scroll-text-li . ETL such that (the label ot ETL= "[PN|-[ι -01-[typc2]-ETL' " ) then go lo linal-rouune else ETL. TX2 = cull MERGE-BR FUNCTION-STRUCTURE-PROC (the svmbol otil. lypeO. ιype2. type? FL. PMA. panel, win), else il PGA exists then if PGA-2 exists then it there exists a scroll-iexi-list ETl sudi that (the label ol " ETL = " [PNl-[typeO|-[type2]-[rype9]-[ιypel01-ETl. ' ) then co lo final-routine else ETL. TX2 = call MERGF.-BR-FUNCTION-STRUCTURE-STRUCTURE-PROC (ihe symbol croup. ihe svmbol croup. ivpeO. tvpe2. tvpeV. tvpelO. FL. PGA. PGA-2 panel, win) else il there exists a scroll-text- si ET such that (the label ol ETL = " |PN]-[ιypc ]-[ιype2|-|tyr.9|-ETL ) then co to l.nal-rouiine else ETL. TX2 = call MERGE-BR- FUNCTION-STRUCTURE-PROC (the svmbol group. iv eO. ιvpc2. ιvpe9. FL. PGA. panel, win), return ETL. TX2. final-routine return ETL. TX2. TABLE 148 MERGE-BR-FUNCTION-STRUCTURE-PROC (tag I symbol, type.) symbol ιype2 symbol. type. symbol. FL: class scroll-iexi-lisi. QA class query -arra . panel class query -panel, win class window ) = (class scroll-ioxi-list lext) PN symbol = the name ot panel. BRN s mbol = the related-iiem ol panel it there exists a scroll-iexi-lisi ETl sudi Hut uhe label ol ETL = | N]-| ι> oll] |rype2]-[typeι]-EΗ.1 ihen go to exu-rouune creaie a scroll-iext-lisi ETL. conclude that Uie label ot ETL- |PN|-|ιypo )-|typc_l-|type3|-ETL conclude lhat ETL is a-lisi-ass< ιaied-[o-dlc panel iransler ETL lo ihe subworkspjee ol _>ate-lιoπιe-lor-lιsι.s at (50. -245) TX2 = the .scroll-title ol ETL ii the number ol elements in F = 0 then TX2 = capitalize-words ( " There are no structures defined in this module of [type2] that are |rypeO| ol [BRN| i else call BR-FILL-ETL-LIST-PROC (FL. QA. ETL. panel, win), il the number ol elements in ETL >= 0 ihen BRN) and contain [ivpeS] > defined in this module lhat are |tvpeO| ot [BRN] > TX2 = capitalize-words ( [type2) ith structures delined in this module lhat are [typed] of [BRN | None ot those contain [type.V] ι lor T) = each lext in FL do insert Tl al the end ol the text list ETL. return ETL. TX2. exit-routine TX2 = the scToll-tiile ol ETL. reiurn ETL. TX2 1 ? TABLE 149 MERGE-BR-FUNCTION-STRUCTURE-STRUCTURE-PROC (lacL symbol. tag2: symbol, typed: symbol, type! symbol. ιype4: symbol, type?: symbol. FL: class scroll-te.xi-lisi. D A: class query-array. M A: class query-arrav panel: class query-panel, win : class window) = (class scroll -lext-hsi. text) PN: symbol = the name ol panel: BRN: ' ymbol = symbol (the related-iieni of panel). il there exists a scroll-iexi-lisi ETL such dial (die label ol ETL = " [PN]-lιyp-0)-[type2]-[type4]-[ιype5]-ETL " ) then go to exu-rouune else create a scroll-text-list ETL: conclude diat ihe label of ETL = '■ [PN]-[iype01-[tyr-2]-[ιype4]-[type5|-ETL "" : conclude that ETL is a-list-associaied-to- lc panel: iransler ETL to die subworkspace 01 sale-home-lor -lists ai (50. -245): TX2 = die scroll-Lille of ETL: it die number of elements in FL = 0 dien TX2 = capitalize-words ( " There are no structures defined in this module ol |ιype2] that are [typed] oi [BRN] " i else il the array-lenedi of DQA = 0 dien il the array-length of MQA = 0 dien il typeS = symbol ( " no-[tag2]-selection " ) then TX2 = capitalize-words C ' [type2] widi structures defined in tins module lhat are [typeO] of [BRN) Noneot those contain [ιvpe4[ " ) else il ιyp- = symbol ( " no-|tagl [-selection " ) then TX2 = capitalize -words V ' |type2] with structures defined in this module lhat are [typed] ol |BRN| None ol those coiuam |ιvpe5] ' ) else it typc'5 = symbol ( " no-[ιac2|-selectιon " ) and type4 = symbol ( " no-[ιa l 1-seleetιon " ) then TX2 = capiiali/c -words ' |ιype2| with structures defined in this module thai are |typed| ol |BRN| ) else TX2 = capitalize-words ( " |type2[ with structures defined m this nuxlule that are I typed] ol |BKN] None ot those contain [ιypc4| or [type51 " ). insert Tl at die end ol ihe te t list ETL. else il type4 = symbol ( " no-liacl [-selcciii.i " ) then TX2 = capiiali/e-words ι " |ιype2| vviih struciures detined in this nuxlule diat are I typed | ol |BRN| and contain |type5| " ) else TX2 = capιιalι/e-vvords (" |type2| with structures defined in this nuxlule that are |ty e()[ ol [BRN] and contain |tvpe5[. None ol those contain [tvpe4| ' ): call BR-FILL-ETL-LIST-PROC (FL. MQA. ETL. panel, win I. else n the array -length ol M A = 0 then il types = symbol ( " no-[ιag2[-selecιιι ,ι " ) then TX2 = capitalize -words < " |typc2| widi structures defined n tins module that are |typed) ol | B R N ] and contain |ιvpe41 " ) else TX2 = capuali/e-vvords ( " |ιype2[ viih siructures detined in this module that are hyped] ol [BRN] and contain [ιvpe4] None ol those contain |ιvpe5| " ι. call BR-FILL-ETL-LIST-PROC (FL. DQA. ETL. panel, win), else TX2 = capιιali7e-vvords ( " [type2] with structures defined in dis module dial are |rype()| oi [BRN] and contain |ιvpe4| and [tvpe5] " ): call BR-FILL-DOUBLE -ETL-L1ST-PROC <FL. DQA. MQA. ETL. panel, win), return ETL. TX2. exu-rouune: 7X2 = the scroll-tide ol ETL: return ETL. TX2. TABLE 150 BR-FILL-ETL-LIST-PROC (FL: class scroll-texi-ltsi. QA: clas.s query -arra . ETL: class scroll-iexi-lisi. panel dass query-panel, win : class window) il tlie number ol elements in FL >= 0 and die array-length ot QA >= () dien lor T = each lext in FL do tor AE = each symbol in QA do if T = " I AE1 " ihen insert T at the end ol ihe text list ETL: reiuπi 6? TABLE 151 ss scroll-text-list. DQA class query-array hsi. panel class query -panel, win class window ) return TABLE 152 CREATE-DOUBLE-QUERY-OUTPUT-PANEL-PROC (BRL class scroll-text-list. ETL class scroll-text-list. FT 1 class free-text. FT2 class tree-text dig class query-panel w in class w indow ) d-id te\i= die i ol die. ning MAS TER-MOLECULAR-QUERY-OUTPUT- PANEL, ce ol dialog-bin al (0.0). l to uid. iransler FT2 to SW at (0. - 180). make panel permanent. sa l = call create-scroll -αrea-lroni- list ("querv -BR-scroll". 6. BRL) call C-COMPLETE-BR-PANEL-PROC (sa ' i . panel, wm). sa2 = call create-scroll-area-lrom- lisi (' quer -BR-scroU". 6. ETL) call C-COMPLETE-BE-PANEL-PROC (sa2. panel, win), change die si/e of die subworkspace ol panel to minimum. show die subworkspace ol die w idi its top right comer 40 units below the top riglu comer ol the screen show die subworkspace ol p.inel on win w ith its center 300 units lo the left ol die center ol the screen return COMPLETE-BE-PANEL-PROC (sα class scroll-area, panel class query -panel w in class w indow i de class uil-buuon. conclude that die allow -unse lee i-on-seleued-πiessage ol sα is true conclude d at die allow-πiuliiple-simultancous-seleclions ol sα is true call αdιi-grob|-ιo-dιαlog( p.inel sa. 0 -320) call scroll -area -reflect tsa) call set- atUιbuιe(SA. die sy mbol message- selecnon-mediod die sv mbol quer -message-selection ) call set- attπbutelSA die s mbol message-unseleciion-med-od the symbol quer -message-uiiseleclion i dc = call create-pushbulioii ( ' de' . die sy mbol lext die s mbol DELETE-QUERY-PANEL-CALLBACK the symbol medium. "DELETE" ) call add-grob|-to-dιalog(ρanel de 0 -440). return. C( )MPLETE-BR- ANEL- ROC (sa class scroll-area, p.uiel class query-panel win class w indow i conclude dial the allow -uiiselecl-on-selecied- essαge ol sa is true conclude d at die allow-muliiple-simultaneous-selecuons of sa is true, call uιl-add-grob|-lo-dιalog( panel sα 0 -30) cdl uil-scroll-area-rellect ( sa) call uil-set -aitribulelSA. the sy mbol message-seleetion-niedii xl the sy mbol quer -message-seleciioni call uil-set -it_πbuie(SA. d e sy mbol message-unselection-mcdii κl die sy mbol query -messαge-unse lection) change die lext ol die ordeπng-mcihod ot sα to ".lip-iαbetic" retuπi TABLE 153 DOWNSTREAM-FUNCTION-LOCATION-CALLBACK (builon: class button. in: class window , panel: class query-panel ) BR = die bioreservoir named by die related-item of panel: create a message-dialog md. set die text ol die message upon the SW of md to "Processing and sho die SW ot d on die current window: call DOWNSTREAM-FUNCTION-QUERY-LISTS-PROC (BR. panel, win): call DOWNSTREAM-LOCATION-QUERY-LISTS-PROC ( BR. panel, m): delete md. return. TABLE 154 DOWNSTREAM-LOCATION-QUERY-LISTS-PROC (BR: class bioreser oir. panel: class quer -panel, win : class window) BRN = die name of BR: DACL = call CREATE-BR-QUERY-LIST-PROC ("DACL". panel, win): DACBRL = call CRJEATE-BR-QUERY-LIST-PROC CDACBRL". panel, win.: DECL = call CREATE-BR-QUERY-LIST-PROC ("DECL". panel, win): DECBRL = call CREATE-BR-QUERY-LIST-PROC ("DECBRL". panel. win): DCML = call CREATE-BR-QUERY-LIST-PROC CDCML". panel, win): DCMBRL = call CREATE-BR-QUERY-LIST-PROC ("DCMBRL". panel.win). DCYL = call CREATE-BR-QUERY-LIST-PROC CDCYL". panel, win). DCYBRL = call CREATE-BR-QUERY-LIST-PROC ("DCYBRL". panel. in): DNUL = call CREA TE-BR-QUERY-L1ST-PROC ("DNUL". panel, win): DNUBRL = call CREATE-BR-QUERY-LIST-PROC ("DNUBRL". panel, win). DERL = call CREATE-BR-QUERY-LIST-PROC ("DERL". panel, win): DERBRL = call CREATE-BR-QUERY-LIST-PROC ("DERBRL". panel.win): DGOL = call CREATE-BR-QUERY-LIST-PROC ("DGOL". panel, win). DGOBRL = call CREATE-BR-QUERY-LIST-PROC CDGOBRL". panel.win ): DENL = call CREATE-BR-QUERY-LIST-PROC ("DENL". panel, win). DENBRL = call CREATE-BR-QUERY-LIST-PROC ("DENBRL". panel.win): lor DBR = each biorescrvoir dial is a-downsiream-bioreservoir -of BR do insert "|dιc name of DBR1" at die end ol die text list DACBRL: if DBR is a exi-soi-mol-reservoir dien insert "[die name of DBR]" at die end of die text list DECBRL else CL = call C-FIND-COMPARTMENT-PROC (DBR. panel, win): if CL = die symbol cell-membrane dien insert "|dιe name of DBR|" at die end of die text si DCMBRL else if CL = die symbol cytosol dien insert "[die name ol DBRf at die end ol die text list DCYBRL else if CL = die symbol nucleus dien insert "[die name of DBR]" at die end of die text list DNUBRL else it CL = die symbol e-reuculum dien insert "[die name of DBR]" at die end ot die text list DERBRL else if CL = d e symbol golgi then insert "[die name of DBR]" at die end ol die text list DGOBRL else if CL = die svmbol endosomes dien insert "|dιe name ol DBR]" ai die end ol die text list DENBRL. call FILL-BR.ET-LIST-PROC (DACBRL. DACL. panel, win). call FILL-BR.ET-LIST-PROC (DECBRL. DECL. panel, win ): call FILL-BR.ET-LIST-PROC (DCMBRL. DCML. panel, win): call FILL-BR.ET-LIST-PROC (DCYBRL. DCYL. panel, win): call FILL-BR.ET-LIST-PROC (DNUBRL. DNUL. panel, win): call FILL-BR.ET-LIST-PROC ( DERBRL. DERL. panel, win): call FILL-BR.ET-LIST-PROC (DGOBRL. DGOL. panel, win). call FILL-BR.ET-LIST-PROC ( DENBRL. DENL. panel, wini. return. TABLE 155 FIND-COMP.ARTMENT-PROC (BR: class bioreservoir. panel: class query -panel, win : class w indow ) = (sy mbol ι RH = die bioreservυtr-bin supenor to die orkspace ol BR: BM I = die biomodel supeπor to die workspace of RH: if BM 1 is a cell-compartment dien CO = BM 1 else BM2 = die biomodel superior to die workspace of BM I . il BM2 is a cell -compartment then CO = BM2 else BM3 = die biomodel superior to the workspace ol BM2: if BM3 is a cell-compartment dien CO = BM. " . else BM4 = die biomodel supeπor to die workspace of BM3. it BM4 is a cell-companment dien CO = BM4 else BM5 = die biomodel supeπor lo die workspace of BM4: if BM5 is a cell-compartment dien CO = BM5. CL = die class ol CO. return CL. /7/ TABLE 156 QUERY-BR-RELATED- L( CATION-CALLBACK (builon class buuon. w in clas vv mdo . panel class query -panel > BRN svmbol = svmbol Uhe related-iiemol panel). PN symbol = the name ol panel. SW class workspace = llie subvvoikspace of panel, il not (there exists a scroll-text-list L such thai (the label ol L = '[PN]-DPKL-[BRN] or the label ol L = [PNI-UPKL-IBRN] " )) then create a message-dialog m set llie text ot the message upon the SW of md to "Required information is not available- Click on Dow nsirea or Upsiiea and irv to querv jcaui and show the SW ol md on ie cune i mdow else cieatc a message-dialog md. s t the lext of the message upon the SW ot nid to " Processing and show the SW ol md on the cuneni vv mdow create a panel-lexi FT create a panel-text FT2. if noi i there exists a radio-button B upon SW such thai I the id of B = subunits' or the id of B = ' domains or the id ol B = ' molds' or the id ol B = cioups ' )) then BRL. ETL. TX1.TX2= call MERGE-L(iCATION-FUNCTION-ONLY-PROC( anel, win) else typed, iv pel. ιvpe2. LL. FL. BRL.TX1 = call MERGE-LOCATION-FU CTION-PROC (panel, win) il there exists a radio-button Bl upon SW such thai (the id ol Bl = ' location ) and ihere exists a uil-radio-huiton B2 upon SW such ihal ihe id of B2 = "function") then PETL = call MF.RGF.-LL-FL-PROC (tvpel.tvpe2. LL. FL. panel.win) ETL. TX2 = call QUERY-BR-LOCATION-FUNCTION-STRUCTURE-LISTS-PROC (lypeO. t l. ιype2 PFTL. panel, win) el se¬ ll there exisis a radio-button B upon SW such lhat (the id of B = ' location ) then ETL. TX2 = call QUERY-BR-LOCATION-STRUCTURE-LISTS-PROC ( ivpel). tvpcl. LL. panel, wini else if ihere exists a radio-bution B upon SW such that tthe id of B = ' fund ion ) then FTL.TX2 = call QUERY-BR-FUNCTION-STRUCTURE-LISTS-PROC (tvpeO. tvpe2. FL. panel, win), change Ihe lext ol FT1 lo [TXl ] ' . cl-juse the text ol FT2 lo |TX2J call CREATE-DOUBLE-QUERY-OUTPUT-PANEL-PROC tBRL. ETL. FTL FT2. panel, win), aeleie d return. TABLE 157 MF.RGE-LOC.ATION-FUNCTION-ONLY-PROC (panel class query-panel, wm class window > = telass scroll-text-list. class scroll-text-list. text, le t) BRN sy mbol = mbol I the related-iiem ol panel ) PN sv mbol = ihe name ol panel SW class kb-w orkspace = the subworkspace ol panel il there evisis a c-scroll-ιext-hst ETL sudi lhat Uhe label ol ETL = ' |PN| FTL-|BRN[ ) then tor ETL = each scroll-text-list do il the label ot ETL = |PN| ETL-[BRN] then delete ETL create a scroll-iexi-lisi ETL conclude ihal the label ol ETL = |PN]-ETL-[BRN] . conclude that ETL is a-lιsι-assi.cιated-to-dlg panel iransler ETL lo the subworkspace ol safe-home-for-hsts at (50. -245) rb-idO- call GET-RADIO-BOX-ID-PROC ( direction . SWwm) ivpe() = call uil-eet-radio-box-value (panel. rb-idO). r ' b-idl =call GET-RADIO-BOX-ID-PROC ("locaiion . SW. win) ivp l =call uil-eet-radio-box-value (panel, rb-idl) LL. LBRL = call GF.T-BR-LOCATION-LIST-PROC nvpeO. i p l. panel m) ιb-ιd2 = call GET-RADIO-BOX-ID-PROC ("function . SW. win) ιvpe2 = call uil-eei-radio-box-vaiue i panel rb-ιd2) FL. FBRL = cafl GET-BR-FUNCTION-LIST-PROC tivpeϋ. ιvpe2. panel win) il there exisLs a scroll-iexi-hst BRL such that (ihe label of BRL = [PN| BRL-IBRN] ' ) ihen lor BRL = each c-scroll-iext-list do if the label ol BRL = [PN1-BRL-[BRN] then delete BRL create a scroll-text-list BRL. conclude thai the label of BRL = ' [PN]-BRL-[BRN] conclude thai BRL is a-lιst-assocιaιed-io-dlg panel iransler BRL lo ie subworkspace ol sale-home-Ior-lisis ai ( I .5 -2 "• * . TXl =eallMERGE-BRL-FUNCTI N-LOCATI N-PROC(ivpeυ ivpel ιvpe2. LBRL. FBRL. BRL panel. *ιιr TX2 = call F.RGF.-ETL-FUNCTION-LOCAT10N- NLY-PROCιtv c() ivpel. ιvpe2. LL. FL. FTL. panel w i retuπi BRL. ETL. TXl. TX2. enc /7 TABLE 158 MERGE-LL-FL-PR C(LL class c-scroll-iext-hsi FL class scroll-texi-ltsi panel class quer -panel win class window ) = (class PN svmbol = die name ol panel BRN s mbol = s mbol (the rclaied-item oi panel). ii there exists a e-seroll-texi-hsi PETL such Uiai (die label ol PETL = [PN]-PETL-IBRN] ) then it the label ot PETL = |PN]-PETL-[BRN] then delete PETL, create a c-scroll-tcxi-hsi PETL. conclude dial the label ot PETL = [PN]-PETL-[BRN] (conclude dial PETL is a-hst-assouaied-t -dig panel.) iransler PETL to the subworkspace oi sate-ho e-tor -lists at (50 -245). lor TF = each text in FL do il TF = TL dien insert TF at die end ol die text list PETL return PETL TABLE 159 GET-BR-LOCATION-LIST-PROCuvpeO svmbol typel svmbol panel class ciuerv-paiiei win class window i = (class scroll-iexi-lisi class sen .1-ιexι-lιsi) P\ = the name ot panel BRN = ihe related-iicm ot panel ii tvpeO is downstream dien case (typel lot extracellular lbl= [PN]-DECL-[BRN] lblbr = [PN1-DECBRL-IBRN] cell-membrane lbl= |PN]-DCML-|BRN1 lblbr = [PN]-DCMBRL-[BRN] cytosol lbl= [PNI-DCYL-IBRN1 lblbr = IPNI-DCYBRL-IBRN] . nucleus lbl= [PN]-DNUL-[BRN| lblbr = |PN]-DNUBRL-(BRN) . e-reiiculum lbl= |PN]-DERL-[BRN] lblbr = [P \]-DERBRL-[BRN] eolei 1.1 = IPNl-DGOL-IBRNl lblbr = [PN]-DG BRL-[BRN] endosomes lbl= [PN|-DENL-|BRN[ lblbr = [PN1-DENBRL-[BRN1 no-locaiion-seleciion lbl= [PN]-DNL-[BRN[ lblbr = |PN|-DNBRL-[BRN] else 11 tvpeO is upstream ihen case (tvpcl i ol extracellular lbl= |PN[-UECL-|BRN] lblbr = |PN]-UECBRL-[BRN1 cell-membrane Ibl= [PNI-UCML-1BR ] lblbr = [PN]-UCMBRL-[BRN] c vtosol lbl= [PN]-UCYL-[BRN] lblbr = [PN1-UCYBRL-IBRN] nucleus lbl= [PN1-UNUL-IBRN] lblbr = [PN|-UNUBRL-[BRN1 e-reticulum lbl= [PN]-UERL-[BRN] lblbr = [PN)-UERBRL-[BRN| . colci lbl = [PN]-UG()L-[BRN] lblbr = |PN|-LGOBRL-[BR ] endosomes lbl= [PN)-UENL-[BRN] lblbr = [PN]-LΕNBRL-[BRN] no-locatioii-seleciion lbl= |PNl-UNL-[BRNi . lblbr = IPNI- BRL-IBRN] n there exists a scroll-iexi-lisi LL such thai (the label ol LL = lbl > then move LL lo (-110 -280» i there exists a scroll-iext-ltst LBRL sudi thai (the label ol LBRL = lblbr) then move LBRL to i- .) _)> eturn LL LBRL TABLE 160 MERGE-BRL-FUNCTION-LOCATION-PROC (lypeO: symbol, lype 1 : symbol. ιypc2 symbol. LBRL: class scroll-text-list. FBRL. class scroll-tcxi-list. ETL. class scroll-text-list. panel: class query-panel, win : class window) = (text) BRN symbol = symbol (the related-item of panel): il die number ot elements in FBRL = 0 and die number of elements in LBRL = 0 ihe if type2 = the symbol iio-lunction-seleciion dien TX2 = capitalize-words ("there arc no bioReservoirs [txpeϋ] of [BRN] and located in die [type l]") else il type l = die symbol no-locaιιon-selcαιon then TX2 = capitalize-words ("There arc no bioReservoirs ol |ιvpe2| [tvpeO] of I BRN) and located in die [typel]") else it die number ol elements in FBRL = 0 and die number ol clenienis in LBRL >= 0 ihen if ιypc2 = the symbol no- luiici.on-seleciion then TX2 = apιtalt7e-words ("bioReservoirs Itypeϋl ol |BRN] and located in die [typel ]") else TX2 = capιialι?e-words ("bioReserv irs [typeO] ol [BRN] and located in the [tvpc l j None are |type2]"). lor TL = each text in LBRL do insert TL at die end ol d e text list ETL: else il the number ol elements in FBRL >= 0 and die number ol elements in LBRL = 0 then it t pe l = the symbol no-locaiioii-sclcciion then TX2 = • capitali/c-words ("bioReser oirs ol |tvpc2] [tvpcϋ| ol I BRNp else TX2 = capitalize-words ("bioReservoirs ol [tvpe2] [lypeO] ol I BRN] None of those are located in the [typel]"). lor TF = each text in FBRL do insert TF al die end ot die text list ETL: else il the number ol elements in FBRL >= 0 and the number ot elements in LBRL >= 0 then TX2 = capitalize-words ("bioReser oirs ol [ivpe2] [tvpeO] ol IBRN) and located in die |typel]"). tor TF = each lext in FBRL do lor TL = each lext in LBRL do lf TF - TL ien insert TF at die end ol die text list ETL. return TX2. 17 f TABLE 161 MERGF.-ETL-FUNCTION-LOCATION-ONLY-PROC ( lypeO symlwl. ivpe l symbol. ιype2 symbol. LL: class c- scroll-l-.xi-ltst. FL- class c-scn .l-lexi-hst. ETL. class scroll-text-list panel class query-panel, w m . class w indow- ) = next ) BRN sy mbol = symbol (the related-iiem ol panel), if the number oi elements in FL = 0 and ihe number of elements in LL = 0 then if ιype2 = llie symbol no-funciion-sc'lection then TX2 = capitalize-words ι " there are no entities with structures defined in this module thai are [ivpeO] of (BRN)aιιd located in the [type 1 ]") else il type l = the symbol no-location-seleclion then TX2 = capiialize- ords < " There are no [tvpe21 with structures defined in this module oi ιhai are [ιyp_d[ of [BRNl") end else if the number of elements in FL = 0 and the number of elements in LL >=0 th on then struciures defined in llus module that are [typeO) of [BRN] structures defined in tins module thai are [typed] of | BRN] [ιype2]"). in ert TL at ihe end of the text list ETL. else if the number ol elements in FL >= 0 and the number ol elements in LL =0 then if tvpe l = the symbol no-location-scleeiion then T\2 = capiialize-word-s ι " [ιvpe2 | vviih structures defined in llus module lhat are [tvpeO] [BUN] " ' else TX2 = eapιtalιze-word> ( " | type2 | with struciures defined in this module ihal are [ty ped] of [BRN] None oi those are located in the [type l ["): for TF = each lexi in FL do uiseri TF ai the end of the text list ETL: else if llie number of elements in FL>= d and the number ol " elements in LL>= 0 then 2 | w ith .struciures defined in this module that are [typeO| of |BRN] insert TF ai the end ol the text list ETL. .eturn TX2. TABLE 162 MERGE-LOCATION-FUNCTION-PROC. i panel class query-panel, w m class indow . = i sy mbol, s mbol, s mbol. class .scroll-lexi-list class scroll-iext-hst class scroll-text-list. text) BRN symbol = symbol I the related-item ol panel ). PN sy mbol = the name ol panel. SW- clas kb-workspace = ihe subworkspace ol panel. rb-ιdO = call GET-UADIO-BOX-ID-PROC ( " direction". SW. win). ivped = call uil-eei-radio-hox-value ( panel. rb-idO). r ' b-idl = call GET-RADIO-BOX-ID-PROC ( " k _aiιon ". SW. win). ivpe l = call uιl-_ci-radιo-box-value (panel, rb-idl): LL. LBRL = cafl GET-BR-LOCATION-LIST-PROC (ivpeO. tvpe l. panel, w m). rb-κl2 = call GET-RADIO-BOX-ID-PROC ( "funciion ' . ' SW. vvini. ιv pe2 = call uιl-eeι-rddιo-hox-value i panel. rb-id2 ). FL. FBRL = cafl GET-BR-FUNCTION-LIST-PROC i ivped. iv pe2. panel, w in ). if ihere exists a scroll-text-list BRL such lhat tthe label of BRL = "| PN1-BRL-|BRN| " ) then lor BRL = each scroll-texi-hsi do il ihe label of BRL = " | PN|-BRL-[BRN] "" then delete BRL. create a scroll-iexi-lisi BRL: conclude dial the label of BRL = " [PN)-BRL-|BRN1 " . conclude that BRL is a-lιsι-assocιaιed-lo-dlg panel. iransler BRL lo the subworkspace ol safe-home-lor-lisis al < 135. -235 ). TX l = call C-MERGE-BRL-FUNCTION-LOCATION-PROC ( tv peO. tv pe l . tvpc2. LBRL. FBRL. BRL. panel, w im. leturn typed, type l. ιypc2. LL. FL. BRL. TX l . - 7-5 TABLE 16i OUERY-BR-LOCATION-STRUCTURE-L1STS-PROC uypeO svmbol. iv pel svmbol PETL class seioll-iexi-list panel class queiy -panel, m class window ) = i lass scroll-text-list te\π PN symbol = the name oi panel. SW class kb- work space = the subw rkspace ol panel, il there exists a radio-button B upon SW such thai (the id of B = ' subunits ) then tv pe . PSA = call FLND-SPECIFIC-ARRAY-PROC ( subunits " . panel, win <. il there exists a radio-button B upon SW such lhat (llie id of B = " subunιis-2 " ) then ιype4. PS.A-2 = call FIND-SPECIFIC-ARRAY-PROC ι " subunιts-2 " . panel win), it ihere exists a radio-button B upon SW such that ( the id of B = ' domams ) then type: 5. PDA = call FIND-SPECIFIC-ARRAY-PROC ( " domains " , panel, win), il there exists a radio-bution B upon SW such lhat (the id of B = " domaιns-2 ' ) then ■ type6. PDA-2 = call FIND-SPECIFIC-ARRAY-PROC ( " domaιns-2 " . panel, win) if there exisis a radio-button B upon SW such that (the id of B = " mouts " ) then type7. PMA = call FLND-SPECIFIC-ARRAY-PROC ( " motifs " , panel, win), il there exists a radio-button B upon SW such thai ( ie id of B = ' motιfs-2 ' ) then typeS. PMA -2 = call FIND-SPECIFIC-ARRAY-PROC ( " motιfs-2 " . panel, win), if theie exists a radio-button B upon SW such that uhe id of B = 1-= " croups ' ) then type 1 . 1 . PGA = call FIND-SPECIFIC-ARRAY-PROC ( " groups " . panel, w i it iheie exists a raJio-button B upon SW such lhat (the id of B = crcuιps-2 ) then lypeld. PG.A-2 = call FIND-SPECIFIC-ARRAY-PROC l " groups-2 " . panel win), il PSA exists then il PSA-2 exists then it there exists a scroll-iexi-lisi ETL sudi that uhe label ol ETL = " [PN]-|ιvpeO|-|typel |-|iype31-[ιvpe4|-F.TL ) then eo lo final-routine el.e ETL. TX2 = call MERGE-BR-LOCATION-STRUCTURE-STRUCTURE-PROC uhe symbol subunii the svmbol subunit IvpeO. ivpel. tvpe. _ tvpe -4. PETL. PSA. PS.A-2. panel, wini else ETL.TX2 = call MERGh-BR-LOCATION-STRUCTURE-PROC uhe svmbol subunit tvpeO. tvpel tvpe- PETL. PSA. panel, win) else if PDA exists ihen il PDA-2 exists then il there exists a scroll-text-list ETL such ihal uhe label of ETL = " |PN|-|ιyr_ ( )|-[typel |-[ιype5|-[typeb| FTL ) then eo to final-routine else ETL. TX2 = call MERGE-BR-LOCATION-STRUCTURF.-STRUCTURF-PROC uhe symbol domain, ihe svmbol domain. ivpeO. ivpel. tvpe . ιvpe6. PETL. PDA. PDA 2. panel, wm) il PMA exists then il there exists a scroll-texi-lisi ETL sudi thai uhe label ol ETL = |PN] Hιype " -|ιype7|-ETL > ιl_«_ιι go lo final-routine else FTL. TX2 -call MERGE-BU-LOCATION-STRUCTURE STRUCT RF.-PROC uhe svmbol domain ihe svmbol nioiil. ivpeO. ivpel. tvpe.. tvpe7. PETL. PDA. PMA panel, w ) else if PGA exisis ihen il iheie evisis scroll-iexi-lisi ETL sudi lhat uhe label ol ETL = [PN|-|ιypeO|-|ιypell-|ιypcS|-[type. [-ETL ) then lo lϊnal-iouline else ETL. TX2 =cal! MERGE-BR-LOC.ATION-STRUCTURE-STR UCTURE-PROC uhe symbol domain ihe symbol gioup. typed, typel. type'', type. ) . PETL. PDA. PGA. panel, win) end else FTL. TX2 = call MERGE-BR-LOC ATION-STRUCTURE-PROC uhe svmbol domain ivpeO tvpel. ivpe PETL. PDA panel.win) il PMA exists then il PM.A-2 exists then il there exists a sc-roll-iexi-lisi ETL sudi thai tthe label ol ETL = |PN[ [ιyped)-[ιypel |-|type7|-[typeX|-FTL ι men co to final-routine else ETL. TX2 =call MERGF-BR-LOCATlON-STRUCTURE-STRUCTURE-PROC uhe svmbol motil. ihe svmbol motil. tvpeO. tvpel. tvpe7. ivpeS. PETL. PMA. PM 2. panel, in else /?_* TABLE 16sci.il if PGA exists then if there exists a scroll-text-list ETL such that (the label of ETL = "[PN]-[typeO[-typel ]-[type7]-[ιype9|-ETL") then go to final-rouiine else ETL. TX2 = call MERGE-BR-LOCATION-STRUCTURE-STRUCTURE-PROC (ihe symbol motif, llie symbol group, typed, typ l. type7. type9. PETL. PMA. PGA. panel, win) else ETL. TX2 = Call MF.RGE-BR-LOCATION-STRUCTURE-PROC (the svmbol motif, typed, tvpel. ιvpe7. PETL. PMA. panel, wini. else if PGA exisis then il PGA-2 exists ihen if there exists a scroll-texi-lisi ETL such lhat (the label of ETL = "[PN]-[ιypeO]-|ιypel ]-[ιype9]-[type 10]-ETL " ) ihen co to final-rouiine else ETL. TX2 = call MERGE-BR-LOCATION-STRUCTURE-STRUCTURE-PROC (the symbol group, die symbol group, typed, typ l. ιype9. lype 10. PETL. PGA. PGA- 2. panel, i else ETL. TX2 =CalI MERGE-BR-LOCATION-STRUCTURE-PROC (the svmbol group. ivpeO. ivpel. tvpe9. PETL. PGA. panel, win): reiurn ETL. TX2. final-rouune return ETL. TX2. TABLE 164 MERGE-BR-LOCATION-STUUCTURE-PUOC itacl symbol, typed: symbol, typel symbol. type3 symbol. PETL: clas scroll-text-list QA: class query-array, panel, clas.s query-panel, win . class window) = (class scroll-texi-lisi. text) PN symbol = the name ol panel: BUN. sy mbol = the relαied-uem of panel. if Ihere exists a e-seroll-iext-list ETL such that (the label of ETL = "[PNl-[typed]-[ιypel)-[ιype3|-ETL") then go to exii-routtne else create a e-seroll-texi-list ETL. conclude that the label of ETL = " |PN|-|tyr_dl-[ιypel |-[ιype3]-ETL " : [conclude that ETL is a-lιsi-a.ssoeιaιed-io-dlg panel.) iransler ETL to ihe subworkspace ol " safe-home-for-lists at (50. -245). [TX2 = the scroll-mle ol " ETL. ) if tlie number ol elements in PETL =0 ihen TX2 = capitali/e-vvoids ( " There are no struciures defined in this module that aie [tvped| ot [BRN| and located in the | tvpel | " ) . else if ihe array-lengih of OA = d then it type 3 = <y mbol I " no-| lag 1 [-selection") ihen TX2 = capnahze-words ("Entities with struciures defined in this nuxlule that are [ιype0| of |BRN] and located in die [typel | "* else TX2 = capitalize-words ("Entities with structures defined in llus module thai are [typed] of [BRN| and contaned in the [type 1 [ None ol those contain [typc3]"). lor Tl = each lext in PETL do insert T 1 at ihe end ol llie lexi hsi ETL. else TX2 = capitalize-words ( " Entities that are |typed| of [BRN] and located in the [ivpel | lhat contain |t\pe3[ " ) for Tl = each text in PETL do for S2 = each sy mbol in OA do li ' Tl = " |S2[ " then uisert Tl at the end of the text hsi ETL. reiuπi ETL. TX2. exu-rouune TX2 = ihe scroll-mle ol " ETL. return ETL. TX2. Ill TABLE 165 \IERGE-BR-L(X:ATI0N-STOUCTURE-STRUCTURE-PR0C liagl svmbol ιag2 svmbol ivped svmbol ivpel svmbol tvpe4 svmbol types svmbol PETL class sc.oll-iext- st QAl class querv -aπ-av QA2 class querv -arrav panel class querv -panel wm class window) = (class Scroll-text-lisi texi) BRN svmbol = svmbol (the relaied-nem ol panel) PN sv mbol = ihe name ol panel il diere exists a c-scroll-texι-list ETL such dal ( ie label ol ETL = [PNl-|ιvpeO|-[ιvpel ]-[tvpe4]-[tvpes]-ETL ) dien lo exit -routine efse create a c-scroll-iext-lisi ETL conclude diat the label ol ETL = [PN]-[ιvpcO|-[typel)-[type4)-[types]-ETL conclude dial ETL is a-hai-associated-to- dig panel iransler ETL to the subworkspace ol sale-home-lor-lisi_ at ό -24s) TX2 = ihe scroll-title ot ETL it ie arrav-length ol QAl = 0 dien it the aπav-leneih ol QA2 = () dien it tvpe = svmbol ( no-[tac2]-sclecιιoπ ) and t pe4 = sv mbol ( no-|tagl [-selection ) then TX2 = capitalize-words ( Entiues with structures defined in this nuxlule dial are [ivped] ot |BRN[ and locaied in ihe [typel] ) else il tvpe^ = svmbol ( no-[iag2[-seleciιoιι ) then TX2 = capitalize - rds ( Entiues with structures delined in this nuxlule that are [rv edl ol [BRN) and located in the [tvpel 1 None contain [tvpe4] ) else it tvpe4 = svmbol < no-|tagl [-selection ) then T\2 = capιiali7e-words ( Entities with structures delined in this nuxlule that are |tvpeO| ol [BRN'l and 1 lo ated in the |tvρe 1 ) coiiiain [t\p_ ] ) else TX2 = capitalize-words ( Entiues with structures defined in this module that are |ιvped) ol |BRN| and located in the [typel] ) lor T = each lext in PETL do insert T at die end ot ihe text list ETL else il the arra -length ol Q A2 >= () dien il ιvpe4 = svmbol ( no-[iagl [-selection ) dien T\2 = capιtalι/e-words ( Entiues with structures defined in this module thai are [ιypeO| ol [BRN| and locaied in the [tvpel | thai contain [tvpes] ι else TX2 = capitalize-words ( Entities idi struciures delined in this module lhat are |ιypeO| ot [BRN[ and locaied in the [tvpel ) that contain [types] None was lound also containing [ιvpe4[ ) lor T = each lext in PETL do lor S2 = each s mbol in QA2 do ιiT= |S2| then insert T al die end ol the text list Ell- else n the arra -lencth ol Q l >= d ien il ihe arrav-length ol Q 2 = 0 then il iv es = svmbol ( ιιo-|iag2|-selettιon ) then T\2 = capita ze-vvords ( Entities with structures delined in Lhis nuxlule ihal ore |tvpe(l| ol [BRN] and located in the [tvpe 1 ) that contain [ιype4| I e e TX2 = capualize-words ( Entities with struciures defined in this module thai are |tvpeO[ ol [BR\| and locaied in the | t pel ) dial contain [typc4) None was tound also coniaining |tvpes| ) lor T = each text in PETL do lor SI = each s mbol in QAl do it T= |S1] then inseπ T at the end ot the texi lisi ETL else il the arrav-lengdi ot QA2 >= 0 then TX2 = capualize-words ( Entities with structures delined in lhis module that are ItvpeOl ol [BRN) and located in the [tvpel ) ial contain |ιvpe4) and [tvpes] ι lor T = each lexi in PETL do tor SI = each svmbol in QAl do i!T- [SI ) then lor S2 = each svmbol in QA2 do ol the texi list ETL retuπi ETL exu-rouune T\2 = ihe scroll-uϋe ol ETL c'luπi ETL TX2 112 TABLE 166 QUERY-BR-FUNCTION-STRUCTURE-LISTS-PROC (typeO: symbol. typc2: symbol. PETL: class ser. panel: class quer -panel, win : class window ) = (class scroll-texi-ltsi. text ) PN: symbol = die name ot panel: SW: class kb- vorkspace = d e subworkspace of panel: if there exists a radio-button B upon SW such dial (the id of B = " subunits ") then type. . PSA = call FIND-SPECIFIC-ARRAY-PROC ("subunits". panel, win): n there exists a radio-bution B upon SW such lhat ( the id of B = " subunιιs-2 " ) then type .. PSA-2 = call FIND-SPECIFIC-ARRAY-PROC C ' subuιuts-2 " . panel, win): if there exists a radio-buiton B upon SW such diat (the id of B = "domains '" ) then ivpe.S. PDA = call FIND-SPECIFIC-ARRAY-PROC ( " domains " , panel, win): it diere exists a radio-button B upon SW such diat (die id of B = " domaιns-2 " ) d en ιyp-6. PDA-2 = call FIND-SPECIFIC-ARRAY-PROC ( " domaιns-2 " . panel, win): il diere exists a radio-button B upon SW such lhat (die id of B = " motifs") then ιype7. PMA = call FIND-SPECIFIC-ARRAY-PROC ( "motifs ". panel, win): it there exists a radio- button B upon SW such that ( ie id ol " B = " motifs -2") then typeS. PMA-2 = call FIND-SPECIFIC-ARRAY-PROC ( " moιιfs-2 " . panel, win): it there exists a radio-buiton B upon SW such that (d e id of B = " croup " ) dien typey. PGA = call FIND-SPECIFIC-ARRAY-PROC ( " eroups ' . ' panel. win), it diere exists a radio-button B upon SW such that (the id of B = " croups-2 " ) dien t pe lO. PGA-2 = call FIND-SPECIFIC-ARRAY-PROC ( " croups-2 " . panel, win): if PSA exists then it PSA-2 exists dien it there exists a c-scroll-iext-hst ETL such thai uhe label oi ETL = " [PN]-[type31-[ιype4]-ETL " ) then go to final-routine else ETL. TX2 = call C-MERGE-BR-FUNCTION-STRUCTURE-STRUCTURE-PROC (the sy mbol subunit the svmbol subunit tvpeO. tvpe2. tvpe. . tvpe 4. PETL. PSA. PSA-2. ETL. panel, win): else ETL. TX2 = call C-MERGE-BR-FUNCTION-STRUCTURE-PROC (the svmbol subunit. tvpeO. tvpe2. ivpe . PETL. PSA. ETL. panel, win), else n PDA exists then if PD.A-2 exists dien it there exists a c-scτoll-ιexι-lιsι ETL such dial (die label ot ETL = " [PN]-[ιype51-[typc6]-ETL " ) then go to final -routine efse ETL. TX2 = call C-MERGE-BR-FUNCTION-STRUCTURE-STRUCTURE-PROC (the sy mbol domain, the svmbol domain, ivped. tvpc2. ιvpe5. ιvpc6. PETL. PDA. PDA-2. ETL. panel, w in) else if PMA exists dien it diere exisis a c-scro ll-ιexι-lιsι ETL such that (die label ot ETL = " |PN]-|ιype5)-|type7]-ETL " i then co to tinal-rouiine efse ETL. TX2 = call MERGE-BR-FUNCTION-STRUCTURE-STOUCTURE-PROC ( the s mbol domain, die svmbol mom. tvpeO. ιvpe2. ιvpe5. ιvpe7. PETL. PDA. PMA. ETL. panel, win) else il PGA exists then il there exists a c-scroll-ιe.xι-lιst ETL such diat (die label ol ETL = "[PN|-[type51-[ιypeV>l-ETL " ) men go to final-routine efse ETL. TX2 = call C-MERGE-BR-F_. . ( _TION-STRUCTCRE-STRL'CTURE-PR(X. (the symbol domain, the sy mbol group, typed. type2. type?, typey. PETL. PDA. PGA. ETL. panel, win) else ETL. TX2 = call C-MERGE-BR-FUNCTI()N-STRUCTURE-PR( )C ( the svmbol domain, iv ped. tvpe . tvpe. . PETL PDA. ETL. panel, win), else it PMA exists ihen n PM.A-2 exists then il diere exists a c-scroll-texi-lisi ETL such that ( the label of ETL = " |PNHιypc7)-[ιype8)-ETL " ' -hen co lo final-routine else ETL. TX2 = call C-MERGE-BR-FUNCTION-STRUCTURE-STRUCTURE-PROC (ihe s mbol mom. the sv mbol motil. ivped. ιvpe2. t pe " . ιvpe8. PETL. PMA. PMA-2. ETL. panei. win else continue 171 TABLE 166 com il PGA exists then il there exists a c-scroll-texi-list ETL such dial (die label ol ETL = |PN]-[ιype7]-[typey[-ETL ) dien co to final-routine ETL. TX2 = call C-MERGE-BR-FUNCTION-STRUCTURE-STRUCTURE-PROC (die svmbol mout. the svmbol croup. typeO. ιype2. type7. typey. PETL. PMA. PG . ETL. panel, m) else ETL. TX2 = Call C-MERGE-BR-FUNCTI N-STRUCTURE-PR C (de svmbol mom. ypeO. tvpe2. tvpe7 PETL. PMA. ETL. panel, win). else it PGA exists then tl PGA-2 exists then it there exists a c-scroll-iexi-lisi ETL such lhat (the label ot ETL = [PN]-[ιypey]-lιypel01-ETL ) then co to final-routine else ETL. TX2 = call C-MERGE-BR-FUNCΗ()N-STRUCTURE-STRUCTURE-PROC (the symbol group die svmbol group. ivpeO. ιype2. typey. typelO. PETL. PGA. PGA-2. ETL. panel, win) else ETL TX2 =Call C-MERGE-BR-FUNCTION-STRUCTURE-PROC (the svmbol croup. tvpeO. t\pe2. ivpey. PETL. PG . ETL. panel, win), reiuπi ETL. TX2 final-rouune reιumETL.TX2. TABLE 167 QUERY-BR-LOCATION-FUNCTION-STOUCTURE-LISTS-PROC (tvpeO svmbol. ivpel svmbol ιype2 vmbol. PETL class scroll-iext-hst panel class querv -panel, win class window ) = (class scroll-iext-hst. text) BRN symbol = s bol (the relaied-nem ot panel) PN- symbol = die name ol panel SW class kb-w orkspace = the subw rkspace ol panel il he number ol elements in PETL = () then TX2 = capitalize-words ( " There .ire noenuiies widi struciures defined in this nuxlule that <ιre | t ped) ot |BRN] and locaied m die [tvpel ] ' ) else tl there exists a radio- button B upon SW such that (tlie id ot B = subuniis ) dien tvpe3. PSA = call FIND-SPECIFIC-ARRAY-PROC ( subunits .panel win) else it there exisis a radio-bulion B upon SW such that I die id ol B = subunιts-2 ) then type4. PSA-2 = call FIND-SPECIFIC-ARRAY-PROC t subunιis-2 panel, in) else il diere exists a radio-button B upon SW such that (the id ot B = domains ) then PDA = call FIND-SPECIFIC-ARRAY-PROC ( domains panel win) ese il there exists a radio-button B upon SW siich thai (the id ol B = dom.uιis-2 ) ihen tvpef- PDA-2 = call FIND-SPECIFIC-ARRAY-PROC ( doniaιιis-2 p.uiel. wmi else it there exists a r.idio-buuon B upon SW such that (the id ol B = motils ) dien i pe7. PMA = call FIND-SPECIFIC-ARRAY-PROC < moots panel wim else u diere exists α udio-huuon B upon SW such thai Uhe id ol B = motιts-2 ) then ivpeS. PMA -2 = call FLND-SPECIFIC-ARRAY-PROC ( motιls-2 panel, win) else it diere exists a radio-bution B upon SW such th.it (die id ol B = croups ) then tvpey. PGA = call FIND-SPECIFIC-ARRAY-PROC I croups ' panel win) else il there exists a radio-button B upon SW such that (die id ot B = croups-2 ) then lypelO PGA-2 = call FIND-SPECIFIC-AR Y-PROC ( groups-: panel, win i il PSA exists then il PSA-2 exists then it there exists a scroll-iext-lisi ETL such that (the label ol ETL = lPNl-lι\ped]-[ι\pel|-[ιvpe2|-[tvpe3|-[ιypc'4|-ETL ) dien co to tinai -routine else ETL. TX = call MERGE-BR-U )CATI( )N-FUNCTI( )N- STRUCTURE-STRUCTURE-PI . >C < ihe s mbol subunit. Uie svmbol subunit tvpel) tvpel. tvpe2 ivpe ιvpo4 PETL. PSA PSA-2 panel wini else ETL.TX2 -call MERGE-BR-LOCATION-FUNCTION-STRLCTLRE-PROC the svmbol subunit (typed typel tvpe2 t e PETL PSA panel win) continue /%& TABLE 167 com. else if PDA exists then if PDA-2 exists then if there exists a scroll-text-list ETL such diat (die label of ETL = "( PN]-|typed)-[type l l-l type2]-|type51-[type61-ETL") then co to final-routine else ETL. TX2 = call MERGE-BR-LOCAΗON-FUNCΗON-STRUCTURE-STRUCTURE-PROC (the symbol domain, die svmbol domain. tvpeO. tvpel. tvpe2. tvpeS. ιvpc6. PETL. PDA. PDA-2. panel, win) else if PMA exists then if there exists a scroll-texi-lisi ETL such diat (die label of ETL = ■• |PN]-[type01-[typel ]-|type2]-[ιype5]-[type7]-ETL " ) then co to final-routine else ETL. TX2 = call MERGE-BR-LOCATION-FUNCTION-STRUCTURE-STRUCTURE-PROC (the symbol domain, ihe symbol mouf. typed, typ l. type 2. type5. ιype7. PETL. PDA. PMA. panel, win) else if PGA exists then if there exists a scroll-t xt-list ETL such diat (the label of ETL = " |PN]-[ιype()|-[type 1 l-ltype2]-[ιype5|-|typey|-ETL") then final-routine else ETL. TX2 = call ι\lERGE-BR-L ( ) CATION-FUNCTION-STRUCTURE-STRUCTURE-PROC (the sy mbol domain, the svmbol croup, ivped. tvpe l . tvpe2. tvpe5. ivpe*.. PETL. PDA. PGA. panel, win ) else ETL. TX2 = call MERGE-BR-LOCATION-FUNCTION-STRUCTURE-PROC ( die sy mbol domain, typed, type l . ιype_- typ . - PETL. PDA. panel, w in): end else if PMA exists then if PMA-2 exists then if diere exists a scroll-texi-lisi ETL uch dial (die label of ETL = • |PN]-[ιype01-|type l |-[tyιv21-[ιype7]-[ιype81-ETL " ) then co to final-routine efse ETL. TX2 = call NlERGE-BR-L ( )CATI ( ) N-FUNCTION-STRUCTURE-STRUCTL'RE-PROC (die symbol motif, die svmbol mow. tvpel). tvpe l . tvpe2. tvpe7. ιvpc8. PETL. PMA. PM.A-2. ρ;uιel. win) else if PGA exists dien ii ϋiere exisis a scroll-iexi-lisi ETL such lhat (the label of ETL = ■• | PN|-|ιypedl-[type l |-|ιype2]-|ιype7]-[ιypey]-ETL") ιhen linal-rouiiiie efse ETL. TX2 = call MERGE-BR-LOCATION-FUNCTION-STRUCTURE-STRUCTURE-PROC uhe sy mbol mom . the svmbol croup, tvpel). ivpe l. ιvpe2. tvpe7. tvpes*. PETL. PMA. PGA. panel, w in i else ETL. TX2 = Call MERGE-BR-LOCATION-FUNCTION-STRUCTURE-PROC Uhe s> ni _ mow. typed, type l. ιypc*2. ιype7. PETL. PMA. panel, winr. else if PGA exists then it PGA-2 exists dien n there exists a scroll-text-list ETL such diat (die label of ETL = " |PN]-|ιypeO]-|ιypel |-[ιype2]-|type_ |-[typelO]-ETL " ) then co to final-rouune efse ETL. TX2 = call NlERGE-BR-L ( ) CATI ( ) N-FUNCTK ) N-STRUCTURE-STOUCTURE-PR C uhe sy mbol croup, die svmbol croup, ivped. tvpe l. ιvpe2. ιvpe l λ tvpe Id. PETL. PGA. PGA-2. panel, w i else ETL. TX2 =CaII C-MERGE-BR-L CATI N-FUNCTI N-STRUCTURE-PROC ( ie symbol group, typed, ivpel . ιvpe2. ivpey. PETL. PGA. panel, wini. reiurn ETL. TX2: tinal-rouune: TX2 = the scroll-title of ETL: return ETL. TX2: /SI TABLE 168 MERGE-BR-LOCΛTION-FUNCTION-STRUCTURE-PROC liag l : symbol. typeO: symbol, type l symbol. ιvpe2: symbol, type?, symbol. PETL: class scroll-text-list. QA: class query-.irray. panel class query-panel, wm : class window) = (class scroll-text-list. text) PN: symbol = the name o! panel. BRN: symbol = die related-item of panel. ETL: class c-scroll-text-hst. if there exists a c-scroll-iexi-list ETL such vat (die label of ETL = "[PN]-ltype01-[iypel ]-ltype2]-llype3]-ETL") then go to exu-rouune else create a c-scroll-texi-list ETL: conclude diat the label of ETL = "[PN]-[ιypeO]-[iypel ]-[type2]-[ιype3]-ETL". conclude that ETL is a-list-associated-to-dlg panel, iransler ETL to die subworkspace of sale-home-lor-lisis at (50. -245): TX2 = die scroll-title of ETL: if die number ol elements in PETL >= 0 dien if die array-length of QA > 0 dien TX2 = capitalize-words ("[type2] that arc HypeO] of |BRN) a d locaied in the [tvpc l ] dial contain |ιype3]"). lor Tl = each text in PETL do lor S2 = each svmbol in QA do il Tl = "|S2]" dien insert T 1 at the end ol die lext list ETL: else il typc*3 = symbol ( "no-[ tag 1 [-selection" ) dien TX2 = capitalize-words ("[lype2] idi structures defined in dns module dial are [typeO] ol [BRN] and located in die " tvpe l j") else TX2 = capitalize-words ("[lype2] with structures defined in dns module that are [iype0| ot [BRN] and contained in the |iype l ] . None ol those contain [type?]" ), tor Tl = each text in PETL do inseπ Tl at the end of ie text list ETL. reiurn ETL. TX2. exu-rouune. TX2 = the scroll-tide of ETL. reiurn ETL. TX2. TABLE 169 MERGE-BR-LOCATIQN-FUNCTION-STRUCTURE-STRUCTURE-PROC (tag I symbol. tιg2 symbol. typeO: symbol, type l. symbol. type2: symbol. type4: symbol. type5 symbol. PETL: class scroll-iext-hst QA l : class query-arτay. QA2: class query-array, panel: class query-panel, win : clas.s w indow ι = (class scroll-texi-lisi. text) BRN- symbol = symbol (die related-item of panel). PN: sy bol = the name ol panel. if diere exists a c-scroll-tcxt-hst ETL such dial (die label of ETL = go to exn-rouune else create a c-scroll-text-lisi ETL: conclude dial the label of ETL = "[PNl-[ιype0]-|type l ]-|ιype21-[type4]-[ιype.5]-ETL". conclude dial ETL is a-list-associated-to-dlg panel, iransler ETL to the subworkspace ol sale-hoπie-tor-lists at (50. -245 ). TX2 = die scroll-title ol ETL: continue /85*- TABLE 169 com if die array-lengϋi ol QAl = 0 then if die array-length of QA2 = 0 dien it _ypc5 = symbol ("no-[tag2]-se lection") and type4 = symbol ("no-[tagl ]-selcc.ιon") then TX2 = capi ilize-words C'[typc2] ιdι structures defined in this module that arc [lypeO] of [BRN] and located in the [ type 11" ) else it type5 = symbol ("no-[ug2]-sclecUon") ihen TX2 = capitalize-words C'[type2] with structures defined in dns module lhat arc [lypeO] ol [BRN] and located in die (typel ] None coniain [tvpe4]" ) else if type4 = symbol ("no-[ιag 1 ]-selecuon") ϋien TX2 = capiiali/e-vvords I"|typc2] with structures defined in this module diat arc [typeO] of [BRN] and located in die ypel] contain [type5]") else TX2 = capitalize-words <"[type2] idi structures defined in this module dial are [typeO] ol [BRN] and li ated in the [typel ]"). lor T = each text in PETL do insert T at the end ol the text list ETL. else it die array-length ol QA2 >= 0 ϋien il typc4 = symbol ("no-[ιa l ]-selectιon") dien TX2 = capiutlize-vvords C|type2] with structures delined in this module d al are liypeO| ol [BRN] and located in die [t pe I ] that contain ypeS]") else TX2 = capitalize-words ("[tyρe2] with structures defined in this module that are |iypeO] of |BRN[ and located in die |type I ] dial contain [type5] None was found also containing [type4]' ) tor T = each text in PETL do lor S2 = each svmbol in QA2 do il T = '[S2]" then insert T al the end ol die text list ETL. else if the array-lengdi of QA 1 >= 0 then it the array-length ot QA2 = 0 then it typc'5 = symbol ("no-[mg2]-selectιon") then TX2 = capnalizc-words C[iype2] with structures detined in dns module that are [typeO] ot [BRN] and located in the [typel ] that contain |typc4]") else TX2 = capitalize-words ("[typc2] id structures defined in this module that are [typc | ol [BRN] .tnd located in die hype 1 ] thai contain |type4] None was lound also containing |type5]' ) lor T = each text in PETL do tor SI = each s mbol in QAl do ιl T = "|Sl |" _ιen inseπ T at the end ol the text list ETL. else if the aiτay -length of QA2 >= 0 then TX2 = capitalize-words C[ιype2] with siruclures delined in dns module that are |ιvpcO| ol | BRN] and located ui the [type I ] that contain [ type *4 [ and [typc5]" ) for T = each lext in PETL do lor S 1 = each svmbol in QA 1 do ιl T = "[SI ]" then lor S2 = each svmbol in QA2 do il T = "[S2]" then insert T at the end ol the text list ETL. return ETL. TX2 exu-rouune TX2 = die scroll-title ol ETL. reiurn ETL. TX2. 133 TABLE 170 an user-menu-choice Label lisi -copies Applicable class complex-bioeiuiiy Condition die item has a name Action start ET-LIST-COPIES-CALLBACK (the uem. this window) ET-LIST-L()CAL-C PIES-CALLBACK (ET: class complex -bioentity. win : class window) EN: symbol = die name of ET; n: integer = 0: create a message-dialog md. set ihe texi of ihe message upon ihe SW of md 10 "Processing . . . . and show die SW of md on the current window at (0. 0): if there exists a scroll-iexi-lisi lhat is ihe-copies-list-of ET then for CEL = each scroll -icxt- si dial is die -copies-list-of ET do delete CEL: create a scroll-text-list CEL: conclude thai CEL is THE-COPIES-LIST-OF ET; transfer CEL to the subworkspace of safe-home-for-lisis at (55. 15 ); call LIST-LC ZAL-BIOENTΓTY-COPIES-PROC (ET. CEL. wini: if the number of elements in CEL = 0 then co ID exit— routine efse create a query-panel panel by cloning MASTER-LOCAL-BIOENTITY-COPIES-PANEL; iransler panel to the subworkspace of dialog-bin at (0. 0); SW = the subworkspace oi panel, make panel permanent: create a panel-text FT; chance the text of FT lo " COPIES OF: [EN] " ; iransler FT 10 SW at (0. 80); sa = call create-scroll-area-from-list ( " ET -copies-scroll " . 5. CELi. conclude dial die allovv-unseleci-on-selected-message of sa is true, conclude that the allow-muliiple-simulianeous-selecuons of sa is true, call add-grob|-to-dιalog( anel, sa. 0. -30); call scrolf-area-refleet (sa): call seι-aι_rιbuie(SA. the symbol uil-mcssaee-scleciioii-meihod. the symbol ET-COPES-MESSAGE-SE_.ECTI N-CALLBACK I. call ui!-set-aιιrιhuιe(SA. the svmbol uil-messacc-unselection-methixl. die svmbol ET-COPEES-MESSAGE-UNSELECTION-CALLBACK >. de = call creaie-pushbuiton ( " de " . the symbol text, die symbol DELETE-QUERY-PANEL-CALLBACK. the symbol medium. " DELETE " ); call add-grobι-ιo-dιalog( panel, de. 0. - 145); change ihe size oi ihe subworkspace of panel to minimum. show the subworkspace of panel on win with us center 200 units to the left of the center oi ihe screen, delete md: retuπi: delete md: create a message-dialog md. sei the lexi of the niessace upon die S oi md io " Tliere arc no copies ot • |EN ] and show the SW oi md on the current window at (0. 0); return. TABLE 172 ET-C P1ES-MESS AGE-SELECTION-CALLBACK ( MO: class message-obiect. SA: class scroll-area. win. class window i BRN: symbol: T: texi = ihe text of MO; if diere exists a bioentity EN such that (ihe id of EN = T) ihen show EN on win widi its center 300 units lo the richi ol the center oi the screen ; ET-COPIES-MESSAGE-UNSELECTI N-C. LLB ACK ( MO. class message-obiect S class scroll-area, w in class window-) T: texi = die text of MO: if diere exists a hioenuty EN such thai ( die id ot EN = T) then nide uie workspace of EN on win. /St TABLE 171 LIST-LOCAL-BIOENTITY-COPIES-PROC (ET class bioentity. CEL class scroll-texi-lisi. win class window ) EN symbol = die name ol ET. CL = the class ol ET. il ET is a PRQTEIN then if there exists a protein CE that is of the class named bv CL such that (the text ol the master- btoenmy ol CE = "[EN]") then tor CE = each protein that is of the class named by CL do if the text ol the master-bioentity ol CE = "[EN]" then insert "[the id ol CE]" al the end of the text list CEL. else if ET is a PR TEIN-MOTIF then it there exists a protein-moti! CE that is ol the class named by CL such that (the text of die master-bioentity of CE = "[EN]" ) dien lor CE = each protein-motif lhat is of the class named by CL do it die text ol die inaster-biocntity ol CE = "[EN]" then insert "[the id ol CE]" at die end of d e text list CEL. else il ET is a PROTEIN-DOMAIN ihen if there exists a protein -domain CE that is of d e class named by CL such lhat (the text ot die master-bioentity ol CE = "[EN]" ) dien tor CE = each proiein-domaui thai is ot the class named by CL do 11 die text ot the master-bioentity ol CE = "[EN]" dien insert "[die id of CE1" at die end ol the text list CEL. else il ET is a PROTEIN-COMPONENT then il diere exists a proiein-component CE dial is ol the class named by CL such d al (die text ol die master-bioentity of CE = "[EN]" ) ihen tor CE = each proieui-componeni dial is of the class named by CL do it the text ol die masιer-bιιcntiiy ol CE = "[EN]" then insert "[the id ol CE1" at the end of d e text list CEL. else it ET is a DNA-COMPONENT then if diere exists a dna-componenl CE ihal is ol ihc class named by CL such that (die text of me masier-bioenuty ol CE = "[EN]" ) ϋien tor CE = each dna-component lhat is ot die class named by CL do il die lext ol die master-bioentity ol CE = "[EN]" dien inseπ "(die id of CE]" at die end ol die text list CELL, else il ET is a HETER MOL COMPLEX ihen il diere exists a heter ol complex CE diat is of die class named by CL such dun (die lext ol die master-bioentity of CE = "IENJ" ) dien for CE = each heter mol complex lhat is of the class named by CL do il the text ol die inasier-bn x'liutv ol CE = "[EN]" then insert | die id ol CE]" at die end ol the text list CEL. else if ET is a NUCLEIC- ACID then il there exists a nucleic-acid CE diat is of the class named by CL such d at (die text ot d e masier-bioeniny ol CE = "[EN]" ) dien lor CE = each nucleic-acid ll i is ol the class named by CL do il the texi ol die masier-biocntity ol CE = "[EN]' dien insert "[the id ol CE]" at die end of die text list CEL. else il ET is a MEMBRANE then if there exists a membrane CE diat is of the class named by CL such diat (the text ol die master-bioentity ol CE = "[EN]" ) dien l r CE = each membrane dial is ol die class named by CL do it die texi of die master-hiocntiiy ol CE = "|EN]" then lnscn "[d e id of CE]" at die end ol die text list CEL. else il ET is a BIOENTITY then it diere exists a bioentity CE that is ol die class named bv CL such that (die text ol die master-bioentity ol CE = [EN]" ) dien lor CE = each bioentity dial is of ihe class named by CL do if die text ol die master-bioentity ol CE = "[EN]" dien insert [the id ot CE]" at die end ol die text hsi CEL. return. 125 TABLE 17? an user-menu -choice Label show-lists Applicable class biorescrvoir Condition the hr-cl.ainin--_.acer upon the subworkspace of the item exits Action stan BR-CHA_NING-PROC (ihe item, dns w mdow ) BR-CHAINING-PROC fBR. class biorescrvoir. win: class window) tracer: = die br-chaining-iraecr upon die subworkspace of BR. if the subworkspace ol tracer exists then show d e subworkspace ot tracer on Win widi its center 400 units to the right of the center ol the screen else if BR has a name dien go to chaining-rouiine else il the mastcr-biorescr oir ol " BR is not none then BR = the biorescrvoir named by the masier-bioreser ir of BR: go to chainin -routine: else return, chainiiig-routiiic create a workspace SW by cloning the subworkspace ol BR-CHAINING-LISTS . make SW the subworkspace of tracer. change die texi ol the panel-text upon SW to "Lists ol bioReservoirs and bioProcesses Downstream and Upstream ol. [die name of BR]". DBPL = the downsireani-bioproccsses-lisl upon SW . DBRL = die downsircani-biorcservoirs-lisi upon SW . lor DBP = each bioprocess diat is a -down-bioprocess-ol BR do allow odicr processing. insert DBP at die end ol die bioprocess list DBPL. lor DDBP = each bioprocess dial is a-downsiream-bioproccss-ol DBP do insert DDBP at d e end ol the bioprocess list DBPL lor LDDBP = each bioprocess in DBPL do lor DDBR = each biorescrvoir lhat is a-dovvn-bioreservoir-ot LDDBP do insert DDBR al die end ol die biorescrvoir list DBRL UBPL = die upstream-bioprocesses-lisi upon SW . UBRL = the upstream-biorescrvOirs-hst upon SW . lor UBP = each bioprocess dial is an-up-bioprocess-ol BR do allow od er processing. uiseπ UBP at the end ol the bioprocess list UBPL. lor UUBP=cach bioprocess diat is an-upsiream-biopπ .cs -ot UBP do insert UUBP at the end ot the bioprocess list UBPL tor LUUBP = each bioprocess in UBPL do lor UUBR =cach biorcserv ir dial is an-up-biorcser ir-ot LUUBP do insert UUBR at die end of the bioreservoir list UBRL change die size ol SW to minimum. show SW on win idi its center 400 units lo die right ol the center of the screen, reiurn. /-^ TABLE 174 an user-menu-choice Label show-lists Applicable class bioprocess Condition tthe bp-chaining-tracer upon ihc subworkspace of die item exits Action start BP-CHAINMNG-PROC (the item, diis window ) BP-CHAINING-PROC fBP: class bioprocess. win: class window ) ιracer= ihc bp-chaining-u-acer upon ihe subworkspace of BP: if ihe subworkspace of tracer exists then show die subworkspace of tracer on win widi its center 400 units to the riehl of die center ol die screen else if BP has a name dien go lo chainin -routine else if the niastcr-bioprocessof BP is not none then BP = die bioprocess named by the mastcr-bioprocess ol " BP: go to chaining-rouiine: else reiurn: cliaining-routinc: create a workspace SW by cloning the subworkspace of BP-CHAIN1NG-LISTS: make SW die subworkspace of tracer: change Uie text of the panel-text upon SW to "[the name ol " BP]": DBPL = die downsireani-bioprocesses-lisi upon SW : SDBPL = die dovviisireani-bp-simulation-lisi upon SW : DBRL = die downstream-bioreservoirs-list upon SW : SDBRL = the downstream-br-simulaiion-lisi upon SW : for DBP = each bioprocess dial is a-downsircam-bioprocess-of BP do allow other processing: insert DBP at ihe end of the bioprocess lisi DBPL: if die status of DBP is downstreani-aciivated or die status of DBP is i rw-activated dien insert DBP ai die end of the bioprocess list SDBPL: for DBR = each biorescrvoir lhat is a-down-biorcservoir- ol " DBP do insert DBR ai die end of the biorcservoir list DBRL: UBPL = die upsiream-bioprocesses-lisi upon SW : SUBPL = die upstreani-bp-simulaiion-lisi upon SW : UBRL = the upsu_am-biorescrvoirs-list upon SW : SUBRL = die upsu _am-br-simulaiion-lisi upon SW : for UBP = each bioprocess thai is an-upstrcam-bioprocess-of BP do allow odier processing. insert UBP al the end of die bioprocess list UBPL: if the status of UBP is upsu_anι-aetivatcd or the status of UBP is back-activated dien insert UBP at the end of ϋie bioprocess list SUBPL: lor UBR = each bioreservoir dial is an-up-bioreservoir-ol UBP do insert UBR at die end of die biorcservoir list UBRL: change die size of SW to minimum: show SW on win with us center 4(XJ units to the right of the center ol me screen: return: 1*7 TABLE 175 an user-menu-choice Label up-paihwav Applicable class bioprocess Condition the subworkspace ol the uem has been activated and the subvvoikspace oi the up-paih-tracer upon the subworkspace of the item does not exist Action staπ DRAW -UP-PATHW AV -PRuC (llie up-pain-iracer upon t e suovvoπcspace of the item, this window ι DRAW -UP PATHWAY-PROC ( PT class up-path-tracer. w in class w indow ) BP = ihe bioprocess supenor lo the workspace ot PT. il BP has a name and there exists a bioreservoir lhat is an-up-bioreservoir-ol BP then create a workspace* SW by cloning the subvvoikspace ol MASTER-UP-PATHWAY make SW the subworkspace ol PT. T = the bio odel-title upon SW r conclude lhat the label ot T = [the label of Tl [the label of BP] c ance ihe siatus-color icon-color ol BP to brown create a bioprocess I BP by cloning BP make the subworkspace ot LBP transient delete the subworkspace ol LBP \ = ihe x-pos upon SW y = ihe y -pos upon SW conclude that x = -305. conclude lhat y = -240 naiisier I BP lo t U y ) show SW at three-quaπer scale with its bottom lelt corner SO units to ihe πclit ot the Ivt n lelt cornel ol the screen loi UBP = eαdi bioprocess thai is an upsiieam-bioprocess-ol BP do allow other processing. chance ihe siatus-color icon-color ol UBP lo brow n conclude that v = v + 30 call CREATE-LOCAI.-UP-BP-PROC (BP. LBP. SW w in), chance ihe si/e ol SW to nuniniuπi reiurr TABLE 176 s SW c lass workspace w m class w indow j ss ol MBP = the masiei-biopiocc'ss conclude that \ = \ + 1 10 il λ > 600 then show SW at one-quarter s. j|e vv ith its lop lelt comer so units below ihe lop lelt comer oi the scieen else il \ > 1 SOX) then show SW at hall scale with iis top lelt corner O uniis below ihe lop letl corner oi the screen cieaie a biopiocess l.UBP bv cloning UBP. make the subworkspace ol I UBP transient. delete ihe subworkspace ot LUBP transfer LUBP lo SW ai (x v ) 1 = random ( 0 76) 1 = random ( 5 25) create a connection connected between LBP new lv Kvaiing il at lop at the position giv en bv t and LUBP nevv lv I -xati g U al lelt at the position given bv I w ith direciion input conc lude that v = v + 30 αιι ι_ kE.ATE-Lι _ AL-L P BP-PRι )C i L'BP I L BP SW w in) return connect routine loi C = eath connection connected to I BP do il ihere exists a connection UC connected lo I UBP such lhat ( UC is the same obiect as ) then return h _ random ( 20 76) r _ random (40. S I ), p = x-rel-position ( LBP. LUBP) il p > 0 then cieaie a conneeiion c*t class c-lme coiinecied bet en I BP nevv lv locating n at boitoni al llie position given bv b and I UBP new ly locating it at πght at t e position given by i w ith ducction input w ith V enice's 10 else if p < 0 then creale a conneeiion of class c-hne coiinecied between I BP nevv lv locatine it αi πght at the position given bv i and l.UBP ne lv loc ating U at bottom at the position giv en bv b ith ducction mpul 181 TABLE 177 an u.ser-πienu-choice Label navig-panel Applicable class bioreservoir Conαuion me item lias a name and the sunwork space ol the item exists Action start CREATE-DIRECTION-PANEL-CALLBACK (the item, tins vv mdo ) an user-menu-choice Label navig-panel Applicable class biopool Condition the bioreservoir supeπor to the workspace ot the item has a name Aciion siari CREATE-DIRECTli .N-PANEi CALLBACK (ihe Dioreservoir of llie biopost connected to the uem. this window ι an user-menu-choice Label nav ig-panel Applicable class biorole-obie t Condiuon none Action siari CREATE-DIRECTlUi VPANF.L-CALLBACK (ihe ret -bioreservoir superior to the vvoi kspace ol the item, this indow ) CREATE-DIRECTION-PANEL-CALLBACK (BR- class bioreservoir. w in class w indow ) BRN sv mbol - ihe name of BR. cieaie a panel bv cloning MASTER-NAVIG-DIRECTION-PANEL. iianster panel to the subworkspace ol DIALOG-BIN SW = ihe subworkspace ol panel call SET-RADIO-BOX-ID-PROC ( nav i -direciion |BRN]-NAVIG-DIRECTION-radιo-box SW wm i N OF NAVIGATION FROM [BRN1 " . panel lo [BRN| reiurn TABLE 178 SELECT-DIRECTION-CALLBACK ( button class button win class window dig clas.s dialog) BR = Ihe bioreser ir named bv ihe reiaied-iiem of di rb-id = call GET-RADIO BOX-ID-PROC I nav ig-diieciion the subvvoikspace ol dig w in), ly pe = call gel-radio-box-v alue (dig rb-id). call delete-dialoc (dig) md = tall ereaie-nic'ssage-dialoc ( md . Processing . the sy mbcil extra-large, w in. 0 0) anel = call CREATK-UPSTREAM-NA VIG-PANEL-C.ALLBACK (BR win). panel = call CREATE LK IWNSTREAM-N.AVIG-PANEL-CALLBACK (BR wmi call deleie-dialog idlg i delete nui TABLE 179 CREATE DOW'NSTREAM-NAVIG-PANEI -CALLBACK (BR class bioreservoir w in class w indow ) = (class eiiiry -panel) BRN symbol - ihe name ol BR. il noi (there exists, a bioprocess thai is a-dow n-bιoprocess-oi BR) then co lo exu-rouune panel = call clone panel (MASTER-IXΛVN-NAVIGATION-PANEL). * change the texi ol the related-iiem ol panel lo [BRN1 . create a panel-iexi FT change ihe text ol FT lo DOWNSTREAM NAVIG ATION PANEL FOR [BRN] tran.ici FT to the subworkspace ol panel ai ( 70 1 0) call NAVIG-CREATE-DOWNSTREAM-L1STS-PR C (BR. panel w in). DBPL= the bioprocesses-list thai is the-dsbp-hst-ol panel make panel permanent, cieaie a text-list PSML lor DBP = each bioprocess that is a-down-bioprocess-ol BR do lor DBM = each biomodel thai is ilie-coiuaiiier-ol-bp DBP do if DBM is noi a bioreservoir-bin then insert [the name ol DBM| at the end ol ihe lexi list PSML call COMPLETfc-NAVIG-PANEl -CALLBACK ( BR PSML. panel win) reiurn panel exu-rouune md = call creaie-messa e-dialog I md Tliere is no dow n-bioprocess ol [ the name ol BR] 'lie sv mtκii large w in υ D) leiurn md /<?? TABLE 180 NAVIG-CREATE-DO WNSTREAM-L1STS-PRUC (BR: class bioreservoir. panel: class entry-panel, win: class window) it there exists a downstreani-bioprocesses-list that is the-dsbp-list-ot panel d en lor BPL = each bioprocesses-lisi diat is d e-dsbp- st-ol panel do delete BPL: it there exists a do nstrea -bioreservoirs-lisi that is die-dsbr- sl-of panel ϋien tor BRL = each downsircani-biorcserv oirs-list dial is thc-dsbr-list-ol panel do delete BRL: allow other processing, create a do iistrcani-bioreserxOirs-lisi BRL. conclude that BRL is THE-DSBR-LIST-OF panel : transfer BRL to the subworkspace of safe-home-for-lists. create a downstream-bioprocesses-list BPL: conclude that BPL is THE-DSBP-L1ST-OF panel : iransler BPL to the subworkspace of saie-homc-lor-lists. insert BR at die end ol die biorcserxoir list BRL: it diere exists a bioreservoir DBR such dial (DBR is a-dow nstream-bioreservoir-ol BR) then tor DBR = each bioreservoir diat is a-downsircam-bioreservoir-ol BR do insert DBR at the end ot the biorescrvoir list BRL: lor DBP =: each bioprocess diat is a-down-bioprocess-ol BR do insert DBP at die end ol the bioprocess list BPL: if there exists a bioprocess DSBP such dial (DSBP is a-downstreani-btoprocess-of DBP) dien lor DSBP = each bioprocess that is a-downsu_am -biopπ _css-oi DBP do insert DSBP at the end ot the bioprocess list BPL: return. TABLE 181 LIST-NAVIGATION-DBP-C. ALLBACK (builon: class buuon. win: class window, panel: class entry-panel) SW = the subworkspace of panel : BRN= the related-item of panel: BR= die bioreservoir named by BRN. BRL= die downsirean -biorescrvOirs-list that is the -dsbr-lιsι-ol panel . BPL = die downstreani-bioprocesses-list that is ihe-dsbp- st-ol panel . SA = die scroll-area upon SW: il not (there exists an uιl-nιessasc-ob|cct thai is a -selected-message -ofS A) then go to iio-eiiiry-rouiine. create a bm-downstrcan -bp-siniulaiioii-list DBPL: create a down-br -inιulatιon-lι_,ι DBRL. call NAVIG-READ-DOWN-SCROLL-PROC (BPL. BRL DBPL. DBRL. win. panel ). n = die number ol elements in DBPL. conclude that the leitcht ol DBPL = n. iransler DBPL lo SW at ( 100.20): iransler DBRL to SW at ( 170. 20). de = call geι-ob|-lrom-ιd ("de". panel), call disabϊe-buiton (de): call disable-buiion (button), return, n -entry-routine md = call creatc-mcssagc-dialog ("md". "No bioModel has been selected lor diis navigation Click on d e '.' button, lollow die instructions and click on LIST again", the symbol larg ) return: /. 2> TABLE 182 NAVIG-READ-DOWN-SCROLL-PROC (BPL: class downsiream-bioprocesses-list. BRL: class dovviisiream-bioreservOirs-list. DBPL: class bm-dowiisiream-bp-simulatioii-list. DBRL: class dowii-br-siniulatioii-lisi. win: class window, panel: class entry-panel) SW = die subworkspace ol panel: scroll-array -call get-selected-message (panel, " select-biomcxlel-scroll " ). for ST = each texi in scroll-arrav do BMN _ symbol (ST): BM = die biomodel named bv BMN: conclude dial BM is THE-N. VIGATED-BM-OF panel, n = n + 1 : SBMT = ""[SBMT]. (ST]"": show the subworkspace of BM at three-quarter scale widi its top right comer 40 units below the top right co er of die screen, lor DBR = each bioreservoir in BRL do allow other processin : if DBR is BR-CONT.AINED-IN BM then insert DBR at the end ot the bioreservoir list DBRL. lor DBP = each bioprocess in BPL do allow other processine: it DBP is BP-CONTAINED-IN BM then insert DBP at the end of the bioprocess list DBPL: chance the name of DBPL lo .symbol("downsιre__m-BP-w thιn-|SBMT] "). chance the name ol DBRL 10 svmbol("downsιre__m-BR-wιthιn|SBMT] " ). conclude that the rel -biomodel όl DBPL = " [SBMT] '" : dr = call gel -obj-trom-ιd ("dr". panel): call enable-buuon (dr:. return: T. ABLE 183 NAVIG-DRAW-DBP-CALLBACK (button: class button, win: class uem. panel: class entry-panel ) WS: class kb-vvorkspace = the subworkspace of panel: DBPL = ihe bm-downsiream-bp-simulation-lisi upon WS: SW = call CREATE-NAVIG-PATH-TRACER-PROC ( " downstream " , panel, win), show SW at three-quarter scale with us top left comer 50 units below the top letl co er ot the screen. BR = die bioreservoir named by the relaied-nem ot panel, it diere exists a bioprocess dial is a-dow -bioprocess-of BR dien BT = die biomodel-tule upon SW: conclude that the label of BT = " [the label of BT]: [the label ol BR[ " . change the status-color icon-color ol " BR to brown, x = the x-pos upon SW: y = die y -pos upon SW. conclude thai x = - 50. conclude that y = 120. create a bioreservoir LBR by cloning BR: delete die subworkspace of LBR: iransler LBR to SW at (x. y ). conclude lhat y = y - 40. lor DBP = each bioprocess lhat is -dovvn-bioprocess-of BR do if DBP is a member ot the bioprocess list DBPL then allow other processing: conclude diat x = x + 110. create a bioprocess LDBP by cloning DBP: delete die subworkspace ol LDBP: transfer LDBP lo SW at (x. ). r = random (3. 35). t = random ( 20. 76): create a connection connected between LBR new ly locaung it at πght at the position given by r and LDBP newly locating it at lop at the position given by t with direction ouφui. conclude thai v = v - 40. call AVIG-CREATE-LOCAL-DBP-PROC (DBP. LDBP. DBPL. SW. win). change the size ol SW to minimum: call cfisable-hution (button., return. ήi TABLE 184 NAVIG-CREATE-LOCAL-DBP-PROC (BP: class bioprocess. LBP: class bioprocess. DBPL class bm-downstream-bp-simulation-list. SW class workspace, win: class window i x = the x-pos upon SW: y = the y-pos upon SW. if there exists a bioreservoir that is a-down-bioreservoir-ol BP then lor BR = each biorescrvoir that is a-down-bioreservoir-of BP do it there exists a bioprocess lhat is a-dow n-btoprocess-ot BR dien tor DBP = each bioprocess that is a-down-bioprocess-ol BR do if DBP is a member of die bioprocess list DBPL then if there exists a bioprocess MBP upon SW such that (the masier- bioprocess ol MBP = die master-bioprocess ol DBP) then LDBP = MBP. call CONNECT-EXISTING-LOCAL-DBP-PROC (LBP. LDBP. win), else allow other processing, conclude that x = x + 110. il x > 2600 dien show SW at one-quarter scale with its top lelt corner 50 units below the top lelt corner ol die screen else if x > 1 00 then show SW at half scale widi its top left corner 50 units below die top lelt comer ol the screen, create a bioprocess LDBP by cloning DBP. delete die subworkspace of LDBP: iransler LDBP lo SW at (x. y). r = random (3. 35). i = random (20. 76): create a connection coiinecied between LBP newly locating it at right at the position given by r and LDBP newly locating it at top at the position given by t with direction ouiput. conclude that v = \ - 40. call NAVIG-CREATE-LOCAL-DBP-PROC (DBP, LDBP. DBPL. SW. wuυ. reiurn. CONNECT-EXIST1NG-LOCAL-DBP-PROC (LBP cUss bioprocess. LDBP class loprocess w in class w indow ι tor C = each connection connected to LBP do il there exists a connection DC connected to LDBP such dial (DC is the same obiect as C) dien return b = random (20. 76). r = random (3, 35). p = x-rcl-posiiion (LBP, LDBP): create a conneeiion ot class c-line connected between LBP newly locating it at right at die position given by r and LDBP newly locating il at bottom at die posiuon given bv b with direction output, widi vertices 6 -60 else il p < 0 then create a conneeiion ol class c-luic coiinecied between LBP newlv locating it at boitoni at d e position given by b and LDBP newly locating it at lelt 52 with direction output, with vertices -60. return. /. ^ TABLE 185 CREATE - AVIG-PATH-TRACER-PROC (type: te i. p;ιnel: clas.s entry -panel, win: class item) = (class workspace ) WS: class kb-workspace = the subworkspace of panel, if there exists a navig-path-tracer upon WS then tor NT = each navig-padi-tracer upon WS do delete NT: if ivpe = " downstream '" dien create a navig-path-tracer NT by cloning MASTER-DOWN-NAVIG-PATHWAY else if tvpe = "upstream " then create a navic-padi-tracer NT v clomne MASTER-UP-NAVIG-PATHWAY: iransler NT to WS at ( 130. - 85V. SW = die subworkspace of NT: show WS on win with us bottom π ht comer ai the bottom right comer of die screen: call contigure-padi-iracer-proe (NT. wmi. return SW. TABLE 186 COMPLETE-NAVIG-PANEL-CALLBACK (BR: class bioreservoi. PSML: class text-list, panel: class entry-panel, win : class window) SW = the subworkspace of panel: sa = call creaie-scroll-area-trom-lisi ( " select-biomodel-scroll". 5. PSML. panel. 70. 170). conclude that die allow-un select-on- elected-message ol sa is true. conclude that die message-selection-mediod ol sa is the symbol MESSAGE-SELECTION. conclude dial the rnessage-unselection-meihod ol sa is the symbol MESSAGE-UNSELECTION. it Uiere exists a text-pushbutton de upon SW such that (ihe id of de = " de " ) dien change the text of the callback ol de to ELE TE-ENTRY-PANEL-CALLBACK " . change ihe sι__ ot panel to minimum show SW on w in at tl e center ol " die screen: TABLE 187 RESET-NAVIGATION-CALLBAC (button: clas.s button, win: class item, panel: cla.ss enirv -panel ) call RESET-NAVIG-PROC (panel): it there exists a te.xi-pushbuiton de upon SW such thai (the id ol de = " de " ) then enable de: RESET-NAVIG-PROC (panel: clas.s c -entry-panel) SW: class kb-workspace = die subworkspace ol panel: it there exists a biomodel that is THE-NAV1GATED-BM- F panel then lor BM = each biomodel thai is THE -N AVIGATED-BM -< )F panel do allow other processing: chance the status-color icon-color of BM to lime-ereen: conclude thai BM is not THE-NAVIG.ATED-BM . )F panel . il there exists a iiavi -path-tracer upon SW d en tor NT = each navic-padi-tracer upon SW do delete NT. it there exists a bioprocesses-lisi BPL upon SW ihen lor BP = each bioprocess in BPL do allow od er processing: conclude lhat the status of BP is available: chance the status -color icon-color of BP to slate-blue: delete B L. it there exists a bioreservoirs-list BRL upon SW then lor BR = each bioreservoir in BRL do allow odier processing, conclude lhat die status ol " BR is available, chance the status-color icon-color oi BR to medium-aquamaπne: delete BRL: it there exists a text-pushbutton Is upon SW such thai (the id ot Is = " Is " ) then enable is. it diere exists a lext-pushbution dr upon SW uch dial (die id ot dr = " dr " ) then disable dr. m TABLE 188 SIMUL-1N1T-CALLBACK (buuon class button w m class vv mdow . panel class selection-panel) call GENERAL-INIT-PROC ( wm i call SIMUL-INIT-PROC (w i return ADD-S1MUL-CALLBACK (buuon class uil-button. w in class window, panel class selection-panel ) call SIMUL-INIT-PROC (win i. reiurn SIMUL-INIT-PROC (w in clas_ e2-w ιndow ) SW = the subw orkspace ol INITIALIZATION-PANEL call SEND-NO- INPUT-MESSAGES (w m) if theie exists a sd-br-list upon SW then lor NL = each sd-br-lιsι upon SW do delete NL. create a sd-br-list UNL. conclude thai the label oi UNL - UNList create a sd-br-list ANL. conclude that ihe label ot ANL = ANLisl . create a sd-br-list RNL. conclude that die label of RNL = RNList create a sd-br-hsi DNL. conclude thai the label ot DNL = DNList lor BR = each bioreservoir do if BR has a name then SD = ihe scaiinc-density ol the biopool upon the subworkspace ol BR if the set-bv -user ot SD is true then insert BR ai llie end ol the bioreservoir list UNL else call SET-SCALING-DENSITY-PROC (BR. ANL. RNL. DNL) t. ansiei UNL lo SW at ( - 130. -235 ) tran ler ANL lo SW at ( - 80. -235) translei RNL to SW at (60. -2351 iransler DNL to SW at ( 1 10. -235 ) mlorm the operalor lhat The selling ot ihe scalin -deiisiiy ol all bioPools has been concluded . change ihe sue ol SW to minimum return SEND-NO-INPUT-MESSAGES ( win class uem ) lor BR = each bioreservoir do exit if BR has no name. PO = the biopool upon the subworkspace ol BR. it noi (ihere exists a bioproduct connected to PO) and not (there exists a model-block M connected lo PO) then create a niessace -dialog md. change the lexi of the message upon iheSW ot md to 'Tlie bioPool of [the name of BR] has no input ' " To model an input source 1 Select create sw Irom the menu ol the scaled-inpui-niodel-boxor the input-model-box ol this bioPool. as desired. 2 Add / connect / configure an appropriate model-block and show the SW ol md on the current vv mdow al (0. 0; change the lext ol the callback ot the text-pushbution upon the subworkspace ol md to DELETE-DLALOG-CALl.BACK SET-SCALING-DENSITY-PROC (BR class bioieser ir ANL class sd-br-list RNL class -.d-b. -list. DNL class sJ-br-hst) PO = the biopool upon the subworkspace ot BR SDF = ihe s alin -densirv ot PO it ihe it scahng-amouni l BR /- 100 then niseit BR at the end ol the bioieserv oir lisi ANL sa = the ιl-sςalιιιc-amount of BR c hance the texi ol ie initial-v alue of the scahnc-densin ot PO to |sa[ make the sςαling-densirv ot PO permanent il the ll-scahng-biυreservou ol BR ι» not none then go lo conflici -routine else if the ll-sealin -bioreservoir f BR is noi none then insert BR at the end of the bmreseπou list RNL sr = the il-scaling-aniouni ol the bioreservoir named bv the ιl-scalιιιg-bιo.eserv oιr ot BR change the lexi ol llie liuiial-value ot the sca ns-densitv ol PO to [sr] . make the scaling-densiiy ol PO permanent else il the U-sealinc-aπu _nι ol BR =100 then insert BR at the end of the bioreservoir list DNL change the text ol the initial-v alue ol the scalinc-densiiv ot PO to 1000 make the scaling-densiry ol PO permanent return, conrtici-routine sr = the il-scalin -amount of the bioreservoir named bv ihe il-scalinc-bioreserv ir of BR if sa /= sr then mlorm the operator that The attributes ii-scahng amount and il scahn -bioreservoir of (ihe name ol BR] have both v alues w hich prov ide two conflicting scaling densiiv v alues loi iis bioPool (sa) and [sr] respeciivelv The initial v alue ol scaling-densiry has been sei lo (sjj but il is recommended lhat the conflict is resolved, and this v alue changed il desired reiurn m TABLE ig l __.-«** «**« __ - _- lic β . « ,Λ iP - > s^>-ι-D long-SET-SCALING-DENSITY-PROC fBR: class bioreservoir, NSDL: class bioreservoirs-list) 4 -if the set -by-user of the scaling-density of the PO of BR is true then ^ retuπτ lseβλ_ . ^ " create a float-list LeL; define an internal float value SC; define an internal float value SD; for each bioproduct P connected to PO do create a float-list PL; for each symbol PREC in the scaling-precursors of P do: if the bi orole-object R named by PREC is not an amplifier- bioreactant or an inhibitor.bioreactant and if the scaling-densitv of the biopool UPO connected to R /= 99.999 then insert the scaling-density of UPO at the end of PL; if the number of elements in PL >= 1 then insert the minimum float value in PL at the end of the float list LeL ; delete PL; if the number of elements in LeL >= 1 then: set SD equal to the maximum float value in LeL; go to se -routine; else if there exists a source-bioreactant connected to PO then: create a float-list TSL; for each source-bioreactant TS connected to PO do if TS is a SUBSTRATERand the MICHAELIS-CONSTANT of TS /= 9.9e-99then insert the MICHAELIS-CONSTANT of TS at the end of TSL else if TS is an ION.R and the EQUILIBRIUM-CONSTANT of TS /= 9.9e-99then insert the EQUILIBRIUM-CONSTANT of TS at the end of TSL; if the number of elements in TSL >= 1 then set SC equal to the average of all floats in TSL; else if there exists a binding-bioreactant R connected to PO such that the EQUILIBRIUM-DISSOCIATION-CONSTANT of R /= 9.9c-99 then: create a float-list TSL; for each binding-bioreactant Ts connected to PO do if the EQUILIBRIUM-DISSOCIATION-CONSTANT of T /_ 9 Qg_Q Q then insert the EQUILIBRIUM-DISSOCTATION-CONSTANT of Ts at the end of TSL; if the number of elements in TSL >= 1 then set SC equal to the average of all floats in TSL; if SC /= 0.0 -hen: SD = SC * 6.023e23 * top-volume-br (BR); go to set-routine; if LeL exists then delete LeL; return set -routine: if SD = 0.0 then insert BR at the end of the bioreservoir list NSDL else if SD /= 0.0 then ' if the scaling-density of PO = 99.999 then set the initial-value of the scaling-density of PO = the value of SD else if the scaling-density of PO /= 99.999 and the scaling-density of PO /= SD then inform the user, return Tfsr " TABLb 190 an user-menu-choice l-abel sunul-panel Applicable class bioreseivoir ndiuon the item has a name and the subvvoikspace o! ihe item exists Action siari CREAT -Ii -PUT TYPE-CALLBACK (the item lhis indow ) an user-menu-choice Label .lmul-panel Applicable class biopool Condition ihe bioreservoir superior lo ihe workspace ol llie uem has a name Aelion start CRf- .TF-INPUT TYP -C .l.LBACK (the bioreser ir supeπor lo the workspace ol ihe item, this indow ι an user-menu-choice Label simul-panel Applicable class biorole-objecl Condition the biopost connected to the uem has a name Acuon .lart CREATE-INPUT-TYPE-CALLBACK. (ihe biorcservoir named by ihe rel -bioreserv ir ol llie biopost connected lo the item, this window ) CREATE-INPUT-TYPE-CALLBACK (BR class bioreservoir win dasswindow ι WS = the subworkspace ol BR BRN svmbol = the name oi BR il noi (there exists a bioprocess lhat is a-do n-biopπ vccss-ol BR) ihen _o lo exil-rouline aclivalc the subworkspace ol BR l' ( ) = the biopool upon WS call -RhATt- OWNSTRtA -LISTS I'K. X." iBR wini it PO is a sol-mol-pool or It) is a exp-eell-pool ihen panel = call clone-panel (Sl.MUl.-CONCFNTR.ATlON-INI'UT-Pi'l'E-I'ANEL) SW = the subworkspace ol panel call SET-RADIO-BOX-ID-PROC ( s.mul-coiie [BRN|-INPUT-TY PE-radio box SW wm) else panel = call clone-panel (SIML'I.-DENSITi'-INI 'UT- l'l Ε-I'ANEL) SW = ihe subwoikspace ol panel call SET-RADIO-BOX-ID-PROC ( si ul -densiiv |BRN|-INPUT- TYPE-radio-lx .. SW win) cieaie a panel-lexl FT change ihe text ol FT lo INPUT TYPE FOR |BRN] transi er FT to SW at (I) 110) change the si/e ot SW lo minimum change the text ol the relaled-nem ot panel to [BRN] show SW on win at the center ot the screen return exit-iounne d = call create -message-dialog ( d Tliere is no down-bιoprocess-ol I ihe name ol BR1 llie svmbol extra large win 00) reiurn CREATh-DO STRFAM-IJSTS ROOBR class bioieserv on win class w mdow > il ihere exists a dovvnsiream-biopn . sscs-hsi thai is ihe-dowiisiieam- hioproee-sses-hsi-ol BR lner loi DB I = each biopn .csses-hsi thai i ilie-downstream-biopioceases- delete DBPL il there exists a downstream-bioreservoirs-hsi ihal is the dovviisiream- hioreservoirs-hsi-ol BR then tor DBRL - each do nstream-hiorcser irs hsi ihal is ihe-downsiream bιoreservou->-lisi-ol BR do deleie BRL it theie exists an up-hioreservoirs list lhat is the-up bioieservoiis-hst-ol BR then lor L'BRI _ each downstieam-bioieservoirs hsi that is ilie-downsiream-bioieseivoirs-hsi-ol BR do delete UBRL allow oinei processing create a downsiream-bioreservoirs-hst DBR1 conclude that DBRL is ihe-downsUeam-hioreseivoirs hsi-ol BR tiansiei DBRL to the subworkspace ol sale-home-lor-hsis create a dovvιisiream-bιoproeesses-hst DBPL conclude lhat DBPL is the-dow siream-bioprocesses-hsi ol BR ii nsier DBPL lo ihe subworkspace ol sale-home-lor-hsts create an-up-bioreservoir's-hsi LT3RL conclude that UBRL is the-up-hιoreservoιrs-hst-ol BR uanslei UBRL lo the subworkspace ol sale-home lor-hsts call F1LL-BR-DOW NSTRFAM-1 ISTS ROC (BR DBRL DBPI DBR1 wmi rciuπ. TABLE 191 SELECT-ΓNPUT-PANEL-CALLBACK (button class button win class w indow, die class dialog) Bl _si = ihe related-item ol dig BR = the bioieseivoir name by BRN. WS = Ihe subworkspace ol die. rb-id = call GET-RADIO-BOλ-ID-PROC ( simul-selection . WS. w in), ty pe = call gei-radio-box-value (dig. rb-id). call delete- ialog (dig). md = call create-message-dialog ( d . Piocessing . the symbol extra-large, w in. 0. 0) case (ty p i ot one-iime-conceniraiion panel = call CREATE-CONC-INPUT-PANEL-PROC (BR. w in ). one-iinie-densitv panel = call CREATE-DENSITY-INPUT-PANEL-PROC (BR. w in i one-lime-relaiive panel = call CREATE-RELAT1VF-1NPUT-PANEL-PROC (BR. win). periodic -concentration ' panel = call CREATE-PERIODIC-CONC-1NPUT-PANEL-PROC (BR. v.ιn). penodic-densiiv panel = call CREATE-PERIODIC-DENSITY-INPUT-PANEI -PROC ( BR. win). peruxlic-relative panel = call CREATE-PERIODIC-RELATIVE-INPUT-PANEL-PR. K. (BR. w ini make panel permanent change ihe text oi the related-iiem ol panel to 1BRN] . SW' = the subworkspace ol panel il there exists a lexi-pushbuiton de upon SW such lhat (ihe id ol de = de ) then change ihe lexi ol ihe callback ol de lo DELETE-ENTRY-PANFL-CALLBACK change llie si/e ol SW to minimum show SW on in al the center ol the screen. return pane, delete md TABLE 192 COMPLETE-INPUT-PANEL-PROC (BR class bioreservou . panel class entry -panel, w in class w indow ι (class enirv -panel ) SW = ihe subvvoikspace ol panel. BRN = the name ol BR. create a texi- st PSML. lor DBP = each bioprocess thai is a-dow n-bioprocess-ot BR do loi DBM = each biomodel thai is ihe-coniainei-oi-bp DBP do it DBM i noi a bioreservoir-bin Ihen ui.scri [the name ol DBM] al ihe end ol the lexi list PSML. s = call creaie-scroll-area-trom-lisl ( seleci-biomodel-scn ill . 5. PSML. panel. 400. 180) om lude thai the allovv-unseleu-on-selecied-message ot sa is true. conclude lhat the allo -mulliple-simultaneous-seleclioiis ol sa is irue conclude that the allow -niuliiple-siniulianeous-seleciions ol -j ι> irue change ihe texi ol ihe uil-message-seleciion-meilu l lo message-selection change the text ol the uil-message-unsc'leetion-nieihod lo message-unseleciion it ihere exists a texi-pushhuiion de upon SW such that (llie id ol de = de ) Ihen change Uie lexi ol the callback ol de to DELETE-ENTRY-PANEL-CALLBACK change the e ol SW io minimum siio SW on in ai the ceniei ol ihe screen reiurn panel. TABLE 19 - CREATE PERIODIC-RELATIVE-INPUT-PANF.I.-PROC ( BR class bioreservoir w in cla-s w indow i = i ass enirv panel I BRN = ihe name ol BR panel = call clone-panel (MASTER-PERlODIC-RELATlVF.-ENTRY-PANEL i . SW = ihe subworkspace ol panel, create a runel-iext FT and traiisler FT to SW ai (-20. 180). clijnee ihe text ol the id ot panel lo [BRN]-peπodie-relatιve -e rv -panel . chance ihe lext ol FT to 1 PERIODIC RELATIVE INPUT F( )R ' (BRN1 ac = call create-pushbuiton ( ac . ihe svmbol ACTIVATE-RF.LATIVE-INPUT-CALLBACK ACTIVATE . panel 490 65) disable ac -I = call creaie-pushbutlon ( st ihe sv mbol START-PF.RIODIC-REI AT1VF-L \PUT-CAI LBACK START . panel. 140 6s , .disable si reiurn panel m TABLE 194 FILL-BR-IX .WNSTREAM LISTS PROC (BR class bioreservoir DBRL class dou iisiieam-hioreseiv oiis-hsi DB L clas dow nsiieam-hiopiocc'sses-hst UBRL class up-bιoιeseι voιi s-lisi w in class w indow . insert BR at the end ol the bioreseiv ir list DBRL il there exisis a bioreservoir DBR such that ( DBR is a-dow iisiream-bioreseiv on -ol BR) Ihen lor DBR = each bioreservou that is a-doiv n-ueam-bioreservoir-ol BR do insert DBR al the end ol the bioreservou hsi DBRL il ihere exists a bioprocess DBP such lhat ( DBP is a-dow n-bioprocess-ol BR) then loi DBP = each bioprocess dial is a-dow n-bioprocess-ol BR do insert DBP at the end ot the bioprocess hsi DBPL il Ihere exists a biopiocess DSBP such that ( DSBP is a-dow nstieam-biopiocess ol DBP) then lor DSBP = each biopiocess thai is a-dow nsiream-biopπ _ess-ot DBP do insert DSBP at the end ol the bioprocess hsi DBPL tor FDBP = each bioprocess in DBPL do allow oilier processing it ihere exists a bioreservoir iliai is aii-up-hioiesenoir-oi FDBP then loi UBR = each bioieserv on thai is an-up-bioreservoir-ol FDBP do il not ( there exi-is a bioreserv oir DBR m DBRL such that ( DBR is ihe same obiect as UBR)) then insert UBR al the* end ol ihe bioreservou list UBRL reiurn TABLE 19s LIST-SIMUI CALLBACK ( buuon cla-s buuon. w in dass w indow panel class e irv -panel) SW = ihe subworkspace oi panel SA = Ihe scroll-area upon SW il not ( there exisi., ΛD uil-inessaee-ohic-t that is a-selecled-message-ι . S A) Ihen go lo no-entrv -routine BRN = the relaled-uein oi dig BR = Ihe bioreservoir named bv BRN DBRL = ihe down-iream-bioieservoirs-hsi ihal ι- ihe-dow iisiream-bioreseivous si ol BR DBPI = ihe dow n-lream-bioproccssc's-hsi thai is ihe-do nsiream hit-proee—es lisi ol BR UBRL = llie up-hιoic'seι oιis-hsi ihal is ihe-up-biorcseivoiis-hsi-ol BR create a bm-do nsiιeam-bp-simulalιon-hsi CDBI'L create a dow n-bι -siπiulalion-hst CDBRL. create an up-hr-simulalιon-hsi CUBRL call RF.AD-SCROLl.-PROC (DBRL DBPL. UBRL CDBRL. CDBPI CUBR1 w in die ) Itansler CDBPL lo W al ( 39s 70) Uan-ler CDBRL lo SW al l -35 69) iransler CUBRL to SW at < 5 - 691 il Iheie evisis a lext-pushbutlon de upon SW such llut (the id ol de = de ) ihen disable do disable button leiurn no-entrv -routine d = call uil-cieaie-message-duloe ( d No bioModel has been -elected lor this simulalion Click on Ihc ' buuon loi win lollow ihe insiruclioiis and click on I 1ST again w in 0. 0) l iurn TABLE 19 " ACTIVAT -SIMULATION-PRO. . w dass w indow panel class enirv -panel SW = ihe subworkspace ol panel DBPL - llie hm-dow streani-hp-simul.iiion-lisi upon SW DBRL = the dov\ n-br simulation list upon SW UBRL = the up-br-simulation lisi upon SW M = ihe model-definiuon upon SW BCB = the subworkspace ol the e-hasjl-densitv -sour.e-tiaeer upon SW User-BC = the user-bc-br-lisi upon BCB caU BM-( )F-MODEL-PR(X" (M ) call ACTTv ATF MODEL-PROC ( DBPL DBRL. UBRL) change the text ol the tree-text upon BCB to Sources ol v alues lor Basa 1 Concentration within (llie levi ol the nems-belonging-lo-lliis-model oi M] lor DBR = each bioreserv oir in DBRL do allow oilier processing IH ) = ihe bioprn -I upon ihe suhwoik-pa-e ol DBR il the basal-den-itv ol PO /= 9 9e 99 then insert DBR al the end ol the bioie-ei v oir list User-BC else call BASAL-DENS1TY-I 'R(X_ i DBR panel ) lor UBR = each bioreservoir in UBRL do allow oiher processing I'l ) = llie biopool upon the subwoikspace ol UBR il Ihe basal-densilv ol 1 * 0 /= 9 9e 99 then inseil UBR al the end ol ihe bioie-ervoir hsi l ser-BC se call BASAL-DENSITY-PROC ( UBR panel ) il there evisis a text pushbutton si upon SW such lhat (the id ol si = si ι then disable -t leiurn /n TABLE 196 READ-SCROLL-PROC ( DBRL. class do nstream-bioreservoiis-hsi. DBPL class do nsiieam-bioprocesses-lisi UBRL bm-dovvιιsιream-bp-sιmuiaιιon-lisi n integer = 0. sciol!-aιτay = call gei-selected-message (panel, sclect-biomodel-scroll '" ). lor ST = each texi in scroll-arτav do BMN - symbol (ST). BM = ihe biomodel named bv BMN conclude that BM is A-SIMULATED-BM-OF M. n = n + 1. il n = 1 Ihen SBMT = ST else il n > 1 then SBMT = " | SBMT). [ST]" " . show ihe SW ol " BM al three-quarter scale vv ith iis top πght comer 40 units below llie lop πght comer ol " the creen tor DBR = each bioreservoir in DBRL do il DBR is BR-CONTAINED-IN BM then insert DBR at the end of ihe bioreservoir list CDBRL: conclude that the lenght ol CDBRL = the number ot elements in CDBRL. lor DBP = each bioprocess in DBPL do if DBP is BP-CONTAINED -IN BM then insert DBP at the end of the bioprocess h>ι CDBPL. cone lude ihal ihe lenglu ol " CDBPL = ihe number ol elements in CDBPL. loi UBR = each bioreservoir in UBRL do il UBR is BR-C( "NTAINED-IN BM ihen ιn _rι UBR al ihe end of the bioreservoir list CUBRL. conc lude lhat the lenglu ol CUBRL = ihe number ol elements in CUBRL. change the lext ol ihe iiems-belonging-io-ihis-nii κlel ol M lo " |SBMT| ' . change the name ol CDBPL to symbol ( " BPs- _ou ι.stream-of-|BRNl-wι_hιn-|SBMTr ). chance ihe name ol CDBRL lo svmbol < ' BRs-dovvnstreanι-of-|BRNl-wιthιn-|SBMT]' ) dian.e the name ot CUBRL to svmbol ( up-BRs-ot-[BRN|-v v ιihιn-|SBMT]"). conclude ihal the rel -biomodel ol ' CDBPL = | SBMT1 . il there exisis a lext-pushbutlon ac upon SW .such that (the id ot ac = ac ) then enable ac retum TABLE 198 ACnVATE-SlMULATION-PROC ( win class window , panel class eniry-panel) SW = ihe subworkspace of panel. DBPL = ihe bm-do nstieam-bp-simulaiion-lisi upon SW. DBRL = the dovvn-br-siniulation-lisi upon SW. L'BRI = the up-br-sιmulaiιon-lιst upon SW M = ihe model-del inition upon SW BCB = the subworkspace ol llie c-basal-deiisiiy -souice-iiaeei upon SW. L sei-BC = the user-bc-br-list upon BCB. call BM-( )F -MODEL-PRt )C (M ). call ACTIVATE -MODEL-PROC ( DBPL DBRL. UBRL) cliance ihe text ol ihe liee-iexi upon BCB lo Sources ol value- lor Basal Concentration ithin |ιhe text ol the ιiems-hcloιιgιng-io-this-nιodel ol Ml . loi DBR = each bioreservoir in DBRL do allow other processing. P( ) = the biopoi >l upon the subworkspace ol DBR. it the basal-clensiiv ot PO /= 99 -99 ihen iiisen DBR al ihe end ot the bioreservou list User-BC else call BASAL-DENSITY-PROC (DBR. panel ) lor UBR = each bioreservoir in UBRL do allow other processing. P( ) = ihe biopivl upon the subworkspace ol UBR. il ihe basal-deiisirv ol PO /= 9 9e-99 ihen iiu-eu UBR at the end of llie hioieservoir list User-BC else call BASAL-DENSITY-PROC (UBR. panel), il ihere exists a lexi-pushbuiton si upon SW such that Uhe id ol si = -t ) then disable si . return BM-OF MODEl.-PROC. (M class model-definuion) it there exists a biomi xlel BM such that ( BM is A-SIMUI.ATED-BM- OF M) then lor BM = each bionn lel that is A-SIMULATED-BM-OF M do chance the siatus-color icon-color oi BM lo bro n. it there exists a biomodel BMI such that (BM I ι- BM-CONTA1NED-LN BM l then lor B I = each biomodel lhat is BM -CONTAINED- IN BM do allow other processine. conclude thai BMI is A-SIMUI .ATED-BM - ) F M. chan e the status-color icon-color ol BM I lo brown return . f TABLE 199 ACTIVATE-MODEL-PROC ( DBPL: class dovvnsircam-bp-siiiiulation-list. DBRL class dovvn-br-simulation- st. UBRL: class up-br-si ulaiion-liM) lor DBP = each bioprocess in DBPL do allow other processing. activate the subworkspace ol DBP. change the status-color icon-color of DBP to brown. conclude lhat Uie status ol DBP is downstream-activated, lor DBR = each bioreservoir in DBRL do allow oilier processing. activate tlie subworkspace of DBR. change the status-color icon-color ot DBR lo brown. conclude that the status of DBR is downstream- activated, lor UBR = each bioreservoir in UBRL do allow other processing: exit il die status ol UBR is downstream-activated. activate the subworkspace of UBR: cliance the status-color icon-color ol UBR to brown. conclude lhat die status ol UBR is back-acuvaied. return. TABLE _(X) BASAL-DENSITY-PROC ( BR. class bioreservoir. dig: class item) PO = ihe biopixil upon die SW ol BR. BC = Uie basal-densitv ol PO. top = the top-conuuner thai is the- ontaint'i-ol-br BR. conclude Uiai tlie volume ol top = the volume ol top. BCB = the SW ol the basal-densiiy-source-iracer upon the SW ol dig. if BR is a sol-mol-reservoir then- NBC = the normal-basal -c -incenirauon ol BR. il NBC /= 9.9e-99 then conclude diat llie basal-density ot PO = NBC " ■ 6 023e ^ " the v olume ol top. insert BR ai the end ol the NBC-bc-br-hst upon BCB. return, else co to niain-rouiine: else NBD = ihe normal-hasal- ensiiv ol BR. H NBD /= 9 9e-99 dien conclude that BC = NBD. insert BR at the end ol the NBD-bc-br-lisi upon BCB. return, else go to inaiii-rouiine. ma - routine, it the scaling-dcnsitv oi PO = 99 999 then inseri BR at die end ol ihe no-bc-br- si upon BCB. return, else- AK = die scalinc-dcnsitv ol PO. if the scaled-basal-amouni ol BR /= 9 9e-99 then conclude that BC = SBA " AK. insert BR at die end ol die SBA-nc-br-list upon BCB. reium. else case die phv siol -abundance ol BR is highest: conclude that BC = I 0 - AK: abundant, conclude that BC = 0.9 " AK, steady-suite, conclude diat BC = 0 5 * AK. low-induced conclude d at BC = 0 1 * AK. only-induced conclude dial BC = 1 Oe-9 " AK. inseri BR ai llie end ol llie pab-bc-br-lisi upon BCB. reiurr. > TABLE 201 START-CONC-rNPUT-CALLBACK ( button: class button, win: class w indow, dig: class dialog ) PO = ihe biopool upon the subworkspace ot ihe bioreservoir named by the rel ate -item ol dig. top = the top-eoiiiainer that is the-coniainer-ot-br die bioreservoir named by the rel ate -item ol dig. del i lie iw o local tloat values V and EV. two quantity values t and incr. and one integer value ET; set t = the current-simulatioii-time ot dig. set incr = the current-siniulation-iime-iiicremeiii ol dig. set V equal to the quantity extracted trom the v alue o. the edit-box upon dig which id is ' cone -entry -value " . set EV = V (molar) * 6.()23e23 { molecules/liter) * the volume ( liters per top-container) ol top; disable button; set ET equal to the quaniiiv extracted trom ihe value ol the edit- box upon die which id is " entrv-ume ' , call START-SIMULATION-PROC ( win. dig); n until t >= ET checking every 1 second, conclude diat the density-entry o P< > = EV. wan until t >= ET + incr checking every 1 second: conclude that the density -entry oi PO = 00. ii i > ET + incr then return START-DENSITY -INPUT-CALLB ACK i button: class buuon. vv in: class window, dig: class dialog i PO = ihe biopool upon ie subworkspace ol the bioreservoir named by the relaied-uem ol dig. define a local float value EV. two quantity values t and incr. and an inieger value ET. set i = ihe curreni-simulation-time ol dig; sei incr = the curretii-siniulaiioii-time-iiierenient ol dig. set EV equal lo die quantity extracted trom the value ot the edii-box upon dig which id is ' densiiv -entry-value disable button: set ET cuual to tlie quainuv extracted trom the value ol the edit-box upon die which id is " enirv -time " . call START-SIMULATION-PROC (w in. dig i. wan until I >= ET checking every 1 second, conclude that the deiisity-eiπry ol PO = EV. wan mini i >= ET + incr checking everv 1 second, conclude that the density-entry ol P( ) = 0.0. it t > ET + incr then reiurn START-RELATIVE-INPUT-CALLBACK I button: class buuon. vv in: class window . dig. class dialog i BR. = the bioreservoir named by die related-iteni ol dig: PO = the biopool upon the sub orkspace ol die bioreservoir named by the relaied-uem ol dig. del i ne a local float EV. two quantities t and incr. an an integer ET. set i = ie curτeιιι-sιmulaιιon-tιιιιe ot dig. -et incr = the curτeiu-siniulation-iime-iiicremeni ot dig: sei EV equal to the quantity extracted trom die v lue ol the edit-box upon dig which idis ' I actor-entry- value disable button. set ET equal IO ihe quantity extracted Irom the value ol Uie edii-box upon die hich id is " enir -time . call START-SIMULATION-PROC ( w in. dig); w an until t >= ET checking every 1 second, conclude diat die scaled-entry ol PO = EV. wait uiiiil t >= ET + incr checking every 1 second, conclude thai the scaled-entry ol P( ) = i) 0. n i > ET + incr then reiurn TABLE 202 START-PERIODIC-CONC-LN'PUT-CALLBACK (builon. class buuon. w in. class w indow , dig class dialog ' PO = the biopool upon the subworkspace ol ihe bioreservoir named by the related-item ol dig. delnie tw o local float s V and EV. two quantities t and incr. and lour integers ET. El. EF. and n. set t = the current -simulation-lime ot dig. set incr = the current-simulation -time-increment of dig. set V equal to die quantity extracted Irom the value ol ihe edii-box upon dig w hich id is ' cone -entr -value sei EV = V ( molar) * 6.023e23 ( molecules/liter ) " the volume ( liters per lop-coiuainer) oi top. disable buuon: sei ET equal io the quantity extracted trom the value ol the edii-box upon dig which id is enirv -time . set EF equal to ihe quantity extracted irom the value ol ihe edii-box upon dig which id is ' entry -ircquencv -et El equal to the quaniiiv extracted trom the value ol the edit -box upon die which id is enirv -interval . call START-SIMULATION-PROC ( w in. dig), w n until t >= ET checking every 1 second. conclude lhat the densny-eiury ol PO = EV: w il uniil t >= ET + incr checking every 1 second, conclude that the densiiy-eiiiry ol PO - 0.0. lor n = 1 to EF - I do w it until I >= ET + El * n checking everv I second, conclude thai the densiiv -entry ot P< > = EV. w it uniil t >= ET + El " n + incr checking ev ery 1 second. -oiiciude dial ihe density-entry ol P( ) = 00. II t > ET + El * n + incr then return. _«?. TABLE 203 START-SIMULATION-PROC ( win: class window, panel, class entry -panel ) M = the model -definition upon the subworkspace ol panel. BRN" symbol = the related-item ol panel: il diere exists a text-pushbutton pa upon SW such that (the id ol pa = "pa ") then enable pa : call start-model (M). il the niixlel-simulauon-status of M is running ihen sd = call uil -crcaie-n.essagc-dialυg ("sd". "Tlie siniulauon starting trom . [BRN] and within I the text ol die items-bclonging-to-dns-modcl of M| has started ai (the current umc as a time stamp]", win. 0. 0). TABLE 2(U MODEL-SIM L'LATION-PROC ( ) M = call g2-geι-cuπ _nt-n.odel-deliruuon ( I. il the item superior to the workspace ol M is a entry-panel then EP = the entry -panel supeπor to the workspace ol M. conclude that die currcnl-simulaiion-lime ol EP is equal io the mixlel- simulalion-timc ol M. conclude that the curτcnι-sιnιulaιιon-tιmc-ιncrcn.enι ot EP is equal lo the niodcl-siniulation-lin.e-increnieni ol M. ( it aitrιbutc-.\ >= y then call c2-sct-nιodc.-sιmulalιoιι-tιnιe (M. n), call g2-scι-nιodcl-sιn.ulauon .iiiic-mcrei-icnt (M. m):} ( il attπbuie-x2 >= y2 then Z2. n2. nι2 = call cont- odel-proc (attπbute-x2): call g2-set-nιodel-sιπιulatιon-tι e (Z2. n2). call _2-.sei-nHxlel-sιmulaιιon-ιιn.c-ιncren.eιn (Z2. m2). call s.2 -staπ-modeHZ2): } start COMPUTE-GRAPH-TRANSFORMS-PROC ( i. TABLE 206 PAUSE-SIML ' LATION-CALLB ACK ( button class uil-buiton w in clas.s window , panel, class entr -panel ) SW = the workspace ol button: M = the model -dcfmilion upon SW. call c2-pausc-nκxlel (M). it there exists a text-pushbutton rm upon SW such dial (die id ol rm = "rm") then enable r disable button . RESUME-SIMULATION-CALLBACK (buuon class uil-builon. w in class window , panel, class entry -panel) SW = the workspace ol button. M = die model -definition upon SW. call g2-resu me- model (M). il diere exists a text-pushbutton pa upon SW such that (the id ol pa = " pa ") dien enable pa . disable button . 3-2. TABLE 205 CO.MPUTE-GRAPH-TRANSFORMS-PROC ( ) GT: class graph-tracer: SW: class kb-workspace: TF: class transf-factor-var: T: class graph-transf-var: C: class variablc-or-paranicicr: for each graph-tracer GT do if there is a biυnode-objcct BO connected to GT and GT has a SW then for each transf-facior-var TF upon SW do if BO is a biopool-lhen case the class of TF of scalcd-conc-iransf-factor: C = the scaled-amount of BO: inpiu-transf-factor : C = ihe input-rate of BO: output-iransf-factor : C = the output-rate of BO: accuni-transf-factor : C = the accumulation-rate of BO: dcnsity-iransf-facto : C = the density of BO: else il BO is a biocnginc and the transf-facior-var upon SW is a vclociiy-iransJ -factor then C = ihe velocity of BO: conclude lhat the transform of TF = ( if C <= 1.ϋe-9 then C * 1.0c9 else (if C <= 1.()e-8 then C * 1.()e8 else (ifC <= 1.()e-7 then C * 1.0e7clse (if C <= 1.0e-6 ihen C * l.Oeόclsc ( if C <= 1.()c-5 then C * 1.0e5 else (if C <= 1.Oe-4 then C * 1 ,0c 4 else ( if C <= 1. Oc-? then C * 1.0e3 else ( if C <= 1.0e-2 then C * 1.0e2 else ( if C <= 1.0e- 1 then C * 1.Oc 1 else ( if C <= 1.0 then C * 1.0 else ( if C <= I .Oe 1 ihen C * 1.Oe-1 else (if C <= 1.0c2 then C * 1.0e-2 else ( if C <= 1.Oe? then C * 1.Oe-? else (if C <= 1.0e4 then C * 1.Oe-4 else (if C <= 1.0e5 then C * I.0c-5 else (if C <= l.Oeό ihen C * l.()e- else I if C <= 1.0.7 ihen C * 1.Oc-7 else (if C <= 1.0e8 ihen C * 1.()e-8 else (ifC <= 1.0,9 then C * l.Oe - elsc (if C <= l.OelO then Cl.Oc-lOelsc (if C <= I.Oel l_hcnC*1.0e-l 1 else (if C<= l.Oe 12 then C* l.Oe- 12 else ( if C<= 1.Oe 1 ? ihen C * 1.Oe- 1 ? else ( if C<= 1.Oe 14 then C* 1.Oe- 14 else (il C<=l.()cl5 then C*1.0o-15 else (il " C<= 1. e 16 then C* l.Oe- 16 else ( il C<= I .Oe 17 ihen C* 1.Oe- 17 else ( if C<= I .Oe 1 then C* 1.Oe- 1 else (ifC <= 1.0el9thcnC * l.Oe- 19 else 1.0c20))))))))))))))))))))))))))»): conclude that TF = ( if C <= 1.Oc -9 then 1.0e9 else (if C <= 1.Oe-8 ihen 1.0c8 else i if C <= 1.Oe-7 then 1.0e7 else ( if C <= 1.Oe-6 then 1.0c6 else (if C <= 1.Oe -5 then 1.0c5 else (if C <= 1. e-4 then 1.0c4 else (if C <= l.Oe-? then 1.0c? else (if C <= l.Oe -2 then 1.0e2 else (if C <= 1.0c- 1 ihen l.Oel clse(ifC<= 1.0 then 1.0 else (if C <= l.Oel ihen l.Oe-1 else (if C <= 1.0e2 then l.()e-2 else (if C <= l.Oe? ihen 1.0c-? else (if C <= I.0c4 then l.Oe -4 else ( if C <= 1.0e5 then 1.Oc-5 else ( if C <= 1.0e6 then 1. e-6 else (ifC <= ].0c7_hcn 1.0e-7 else (if C <= I.0c8thcn l.Oe -Seise (ifC <= 1.0e then 1.0e- else (if C <= l.Oe 10 then l.Oe-lOelsc ( if C <= 1.Oe 11 then 1.Oe- 11 else ( if C <= 1.Oe 12 then I .Oe- 12 else (ifC <= l.Oel? ihen 1.0c- 13 else (if C <= l.Oe 14 then l.Oe- 14 else (ifC <= l.Oe 15 then l.Oe-15 else (if C <= l.Oe 16 then l.Oe- 1 else ( if C <= 1.Oe 17 then 1.Oe- 17 else ( if C <= 1.Oe 1 ihen 1.Oc- 1 else (ifC <= 1.0c 19 then 1.0c- 19 else I.0e2 ( ) ))))))))))))))))))))))))))))> £o3 TABLE 207 an user-menu-choice Label shovv-s graph Applicable class bioreservoir Condition die subworkspace ol die scaled-br-graph-tracer upon die subworkspace ol die item does noi exist Action in order start SCALED-BR-TRANSF-GRAPH-PROC (the scaled-br-graph-tracer upon die subworkspace ol die item, dns w indow i and create a nun-rev -display T and change the text ol T to "G" and iransler T to d e workspace of the item ai < middle- (the item) - 29. middle-y (the uem) -t- 6) SCALED-BR-GRAPH-PROC (tracer class scaled-br-graph-tracer. vv in class window ) BR = die bioreserv ir superior to the workspace ol tracer, il d e subworkspace ol tracer exists d en show ϋie subworkspace ot tracer on Win widi us lop πght comer 35 units below die top right comer ol die screen else create a workspace SW by cloning die subworkspace ot SCALED-BR-TRANSF-GRAPH-M ASTER. G = the graph upon SW. change die text ol the label-to-display of G to "(the name ol BR]" chance die size ol SW to minimum. show SW on Win with its top right corner 35 units below die top right corner ol the screen, make SW the subworkspace ot tracer, lor TF = each transl-lactor-var upon SW oo cliance die text ol the re!-v anable of TF to "( ie name ol BR]' . TABLE 208 a velocity-uansl-tactor ( )pιum.s do noi lorvv rd chain, breadth first hackvv.ird chain Names none Tracing and brea pouits detauli Dala type float Initial value 0 0 Last recorded value 0 0. valid indefinitely History keeping spec keep history idi maximum number ol data points = ■ " Validity uuerval supplied Formula none Simulation details no simulalion formula yei Initial alue tor simulation detauli Data server inference engine Delauli update uuerval 3 seconds Translorm 0.0 Rel variable none Label velocity X x TABLE 209 .ui user-menu-choice Label lude-s graph Applicable class bioreservoir Condition the subworkspace ol die scaled-br-graph-tracer upon die subworkspace ot die item exisis Action in order delete die subworkspace ot the scaled-br-graph-tracer upon die subworkspace ol the item and delete die mm-rev -displav nearest to die item 3to+ TABLE 210 RESET-SIMULATION-CALLBACK (button: class uil-button. win: class window, panel: class entry-panel) M = the model-definition upon die workspace ol " buuon: call g2-re_ct-nκx.el (M): conclude diat the current-simulation-time of dig = 0.0: conclude thai the curreni-sin ulaiion-tinie-increment o die = 0.0: call RESET-PROC (M. dig): allow odier processing: if there exists a text-pushbutton st upon SW such that (die id of st = "si ") then disable st : if ϋiere exisis a texi-pushbulion pa upon SW such thai (the id of pa = "pa") then disable pa: if diere exists a text-pushbutton rm upon SW such dial (die id of rm = "rm") then disable r : i diere exisis a text-pushbutton dc upon SW such lhat (the id of de = "de") dien disable de: RESET-PROC (M: class model-definiϋon. panel: class entry-panel) SW = the subworkspace of panel: if there exists a biomodel Uiai is A-SIMULATED-BM-OF M then for BM = each biomodel that is A-SIMULATED-BM-OF M do allow other processing: chans-C the siaius-color icon-color of BM to medium-aquamarine: conclude that BM is not A-SIMULATED-BM-OF M: if there exists a bm-downstream-hp-simulation-list CDBPL upon SW then for DBP = each bioprocess in CDBPL do allow other processing: change die status-color icon-color of DBP to slate-blue: conclude diat the status of DBP is available: deactivate the subworkspace of DBP: delete DBPL. if there exists a down-br-siniulation-list CDBRL upon SW then lor DBR = each bioreservoir in CDBRL do allow other processing: deactivate the subworkspace of DBR: change the status-color icon-color of DBR to medium-aquamarine: conclude lhat the status o DBR is available: delete CDBRL: i diere exisis a up-br-siniulation-list UBRL upon SW then for UBR = each biorescrvoir in UBRL do allow other processing: deactivate the subworkspace ol " UBR: change die status-color icon-color o UBR to mcdiuni-aquamaπne: conclude that the status of UBR is available: delete UBRL: allow odier processing: i diere exists a text-pushbutton Is upon SW such that (the id o Is = "Is") then enable Is: if there exisis a text-pushbution ac upon SW such diat (the id of ac = " ac") dien disable ac. return _._ _T " TABLE 21 1 ALT-CREATE-C NC-]NPUT-PANEL-PR C <BR class bioreservoir w in c lass w indow i = (class enirv -panel i panel = call clone-panel (MASTER-ALT- CONCENTOATION-ENTRY PANEI. I SW = ihe subw rkspace ol panel change the text ol Ihe User-resirielii i s ol SW 10 unless in uil-build mode menu choices lor w orkspace include hide-workspace, shrink-wrap non-menu choices lor kb-woιkspace include scal - orkspace show -woi kspaee move-w rkspace mov e-vvorkspaees-bevond-window -margin jtiπbuies v isible tor kb-woιkspace include nothing create a panel-text FT traiisler FT to SV. at ( -20 100) clunee the text ot the id ol panel lo (BRN)-conc-enlrv-panel ehanie ihe text ot FT lo 1 CONCENTRATION INPUT FOR (the name ol " BR] si = call ereate-pushbuiton I si the _v mM ALT- START-CONC-INI'UT-CALLB CK ' START panel 1 _ 60 : disable si reiuin oanel TABLE 212 ALT-LIST-SIMUL-CALLBACK (button class button win class window panel class entiv -panel ) SA = the uil-scroll-aiea upon llie .subworkspace ot dig. BR = ihe bioreservoir named bv ihe relaied-uem ol dig BRL= llie dow nsiream-hioieservons-hst that is ihe-downslream-bioreservoirs-hsi-ol BR Bl'l = the dow iisiieain-biopioeesses-hsi ihal is ihe-dovvnstream-hioprocesses-hst-ol BR it not (there evist.s an uιl-message-ob|ecl thai is a-seleued-message-ol SA) then go lo no-entr -routine create a hm-dovvnstream-bp-sunulauon-hst DBPL create ow n-hr-simulalιon-list DBRL create an up-br-simulalion-hsi UBRL call ALT-READ-SCROI.L-PROC (BPL BRL DBPL DBRL UBRL in dig) traiisiei DBPL lo ihe subworkspace ol dlgat S 70) iranslei DBRL lo the subworkspace ol dlgat ( -15 69) iransler UBRL lo the subworkspace ol dlgat I vs. 69) il ihere exists a lexl-pushbullon de upon ihe subworkspace ol dlgsuch thai (the id ot de = de ) then disable de disable buuon reiurn no-enirv -routine md = call create-messjge-dialog ( d No bioModel has been selected lor this simulation Click on the ' button lor help lollow the instructions and click on LIST again w in 0 0 reiurn TABLE 2P AI.T-RF.AD-SCR LL PROC (BPL class dow nstream-hioprocesses-hst BRL class dow nstream- hioreser. oirs hsi DBPI class bm-dow iisiream-hp-simuljlion-list DBRL class dow n-br-simulalion-hsi UBRL class up-br simulation-list w m dass w indow panel class enti v -panel) scroll-arrav = call gel-selected-message (panel seleei-hiomodel-seroll ) lor ST = each lexi in scroll-arrav do BM = ihe biomodel named bv BMN conclude lhat BM is A-SIMU1-ATFD BM OF M π = n r 1 il n = 1 ihen SBMT - ST else n n > 1 then SBMT = |SBMT) (ST1 show the subworkspace ol BM al thiee- uarter scale w ith iis lop right cornei 40 units below the top rifihl coriici ol llie screen lor DBR = each bioreservou in BRL do allow oilier processin. il DBR is BR-CONTAINF.D-IN BM ihen inseri DBR al the end of the bioreseivoir list DBRL conclude that the lenglu of DBRI = ihe number ol elements in DBRL tor DBP = each bioprocess in BPL do allow other r ce sing il DBP is BP -CONTAINED IN BM Ihen uiseri DBP ai the end of the bioprocess hsi DBPL conclude lhat the lenght ol DBPI = ihe number ol elements in DBPL lor FDBP = each bioprocess in DBPL do allow o ih r processing il ihere exists a bioreserv oir that is an-up-bioreserv u ol FDBP ihen lor UBR = each bioreservoir thai is an-up-hιoreseιvoιι -oι FDBP do il not (iheie exists a bioreseivoir DBR in DBRL sudi lhat (DBR is the same obiect as UBR)) then inseri UBR al the end ol ihe bioreservoir hsi UBRL conclude lhat ihe lenglu ol UBRL = ihe number ol elements in UBRL change the name oi DBPL to svmtx *1 ( BPs-dow nsiream-ol-|ιhe related item ol p.ιnel]-wιthιn-( SBMTl ) change the na e ol DBRl. lo svmboll BRs-do siream-ol |lhe related item ol panel) within | SBMT| ) change the name ol UBRL to svmbol! up-BRs-oi-|ιhe relaied-uem ol panel | w ithin | SBMT] i conclude lhat the rel-biomodel of DBPL = | SBMT1 l iheie exists a lexi -pushbutton dr upon SW such thai (llie id ol di = di ) ihen enable dr leiurn TABLE 214 SIMUL -DRAW-DBP-CALLBACK (buuon class button w in class item, panel class enirv -panel i W = the subvv ikspace ol panel DBPI = the bni-dowiistieam-bp-siπiulation-list upon WS. BR = ihe bioreservoir named bv the lelaied-uem ol panel il ihere exists a bioprocess lhat is a-do -bi process-of BR then il ihere exi ts a c-neural-paih-iracer upon WS then lor NT = each c-neural-paih-iracer upon WS do delete NT creale a c-neural-paih-tracei NT bv lonins ma .er-neuro-pathvvav iransi er NT lo W S at ( 510 90) ' SW = ihe subworkspace ol NT BT = the bioniodel-title upon SW conclude thai the label ot BT = | ihe label of BT] (the label ol BR1 show SW at three-quarter scale vv ith its lop lelt corner 50 units below the top lelt corner ol ihe screen call CONFIGURE-PATH-TRACER-PKOC (NT. win). x = the .x-pos upon SW. conclude that x = -300. v = the v -pos upon SW'. conclude that y = 20. creale a bioreservou- LBR bv clonin BR. aciivale Ihe subworkspace ol LBR. PO = the biopool upon the subworkspace ot LBR. create a panel -te.xt Tl. change the texi ol Tl lo [the master-biore servoir of LBR] . tians.er TI to BRW at (nuddle-x (PO i middle-y (PO) - 80). tratislei LBR lo SW at ( λ. v ) conclude thai v = v - 40 call SIMUL-CREATE-LOCAL-BP-PROC (BR. LBR. WS SW win ) lor NBP = each bioproces upon SW do MBP = the bioprocess named bv the niasier-bioproccs.s oi NBP il there exists bioreservoir thai is an-up-bioreservoir-ol MBP ihen call SIMUL -CREAT -UP-LOC AL-BR-PROC (NBP. MBP. WS. SW. w inj call ALT-ACπVATE-SIMULATION-PROC (panel, w in i change ihe ize ol SW io minimum disable buuon . il theie exisis a lexi-pushbution st upon SW such that (llie id ol st = si ) ihen disable s reium TABLE 21 s SIMUL-CREATE-LOCAL-BP-PROC (BR class, bioreserv ir. LBR class bioreservoir W'S class workspace. SW class workspace, win class w indow i DBPL = ihe bni-down iieam-bp-siniulaiion-list upon WS. x = the x-pos upon SW. v = ihe v -pos upon SW. il ihere exists a bioprocess thai is a-dow n-bιopΛ>cess-ot BR then tor DBP = each biopiocess thai i a-do n-bιoprocess-ot BR do il DBP i a member ol the bioprocess st DBPL then it theie exists a bioprocess MBP upon SW such that ( the niaster-bioproec'ss ol MBP = ihe masiei -bioprocess ol DBP i ihen I DBP = MBP io coniic'ct-BP-rouiine else conclude thai x = x + 1 10 create a bioprocess LDBP bv clonins DBP activate the subworkspace ol LDBP iransler LDBP lo SW dt ( \. v ). r = random ( 3. 35) I = random (20. 76). create a connection coiinecied between LBR nevv lv locating it at πght at the position given bv r and I DBP ne lv locating it at top al the position given by i w ith direction output conc lude thai v = v - 40 call S1MUI.-CREATE-L CAL-BR-PROC (DBP. LDBP W S SW w in), reiurn conneci-BP-rouiine lor C = each conneeiion connecied to LBR do it there exisis a conneeiion DC connected to LDBP >Ueh thai ( DC is the same ob|eci a C ) then reiuπi t = random ( 20. 76) r = random ( . 35) p = x-iel-posiiion (LBR. LDBP) it p > 0 then create a conncciion ol class c -line connected between LBR ne lv locating it at l ight at the position given bv i .md 1 DBP nevv lv locating it at boitoni at the position given bv i with direction ouiput. w ith vertices 6 -60 eise il p < 0 then create a conneeiion ol class c-hne coiinecied between LBR new Iv U .aiing n al bottom ai the |x* in given bv i ,md LDBP ne lv locaiui- u at letl 52 w ith direction ouipui w ith Venice's -60 call SLMUI -CREATE-LtϊCAL-BR-PROC ( DBP. I DBP. WS. SW. in i iciurr TABLE 216 SIMUL-CREATE-LOCAL-BR-PROC (BP: class bioprocess. LBP: class bioprocess. WS: class workspace. SW: class workspace, win: class window) DBRL = tlie dovvn-br-siniulalion-lisi upon WS: x = tlie x-pos upon SW: y = the y-pos upon SW: if there exisis a biorescr ir that is a-down-bioreserv ir-of BP then lor DBR = each biorcservoir Uiat is a-down-bioreservoir-of BP do il DBR is a member of the bioreservoir list DBRL then if there exisis a bioreservoir MBR upon SW such that (the master- bioreserv oir of MBR = the masier-bioreservoir of DBR) then LDBR = MBR: go to connect-BR-routinc: else allow other processing: conclude that x = x + 110: i x > 2400 then show SW at onc-quaner scale with its top left comer 50 units below the top left corner of the screen else if x > 1400 and x < 2400 then show SW al half scale with its top left comer 50 units below Uie top left corner of the screen: creale a biorcservoir LDBR bv cloning DBR: BRW = the subworkspace of LDBRJ PO = Ihe biopool upon BRW. creale a panel-text Tl: chance the text of Tl to "[ihc masier-bioreservoir of LDBR)": transfer Tl to BRW al ( middle-x (PO). middlc-y (PO) - 80): chance the size of BRW to minimum: transfer LDBR to SW at (x, yy. r = random (3, 35): t = random (20, 76): create a connection connected between LBP newly locating it at right at tlie position given by r and LDBR newly locating it al top al the position given by t with direction ouiput: conclude thai v = v - 40: call SIMUL-CREATE-LOCAL-BP-PROC (DBR. LDBR. WS. SW. wmi: return: conneα-BR -routine: lor C = each connection connected lo LBP do if there exists a connection DC connected to LDBR such lhat (DC is the sa e object as C) then return: l = random ( 20. 76): r = random (3. 35V. p = x-rel-posilion (LBP. LDBR): if p > 0 then create a connection of class c-line connected between LBP newly locating it at right at Uie position given by r and LDBR newly locating it at boiiom at Uie position given by t with direction output. with vertices 6 -60 else if p < 0 then create a connection of class c-linc connected between LBP newly locaύng it at bottom at the position given by t and LDBR newly lo atinc it at left 52 with direction ouiput. with vertices -60: call SIMUL-CREATE-LOCAL-BP-PROC (DBR. LDBR. WS. SW. win), return 3θδ TABLE 217 SIMUL-CREATE-UP-LOCAL-BR-PROC (NBP: clas.s bioprocess . MBP: class bioprocess. WS. class workspace. SW: class workspace, win: class window) UBRL = the up-br-simulation-lisi upon WS: x = the x-pos upon SW: y = the y-pos upon SW: conclude that x = the liem-x-posuion of NBP: conclude that Y = the item-y -position of NBP + 200: tor UBR = each bioreservoir that is an-up-bioreservoir-ol " MBP do if UBR is a member ol the bioreservoir list UBRL then i I there exists a bioreservoir MBR upon SW such lhat (the master- bioreservoir ot MBR = ihe niaster-bioreservoir of UBR) then LUBR = MBR. go to connecι-BR -routine: else allow other processing: conclude thai x = x + 1 10: create a bioreservoir LUBR by cloning UBR. activate the subworkspace of LUBR. BRW = the subworkspace of LUBR: PO = tlie biopool upon BRW: create a panel-iexi Tl. chance the text of Tl io "|ιhe masier-bioreservoir of LUBR| " . trans.er Tl to BRW at t middle-x ( PO). middle-y i PO) - 80): chance the si e ol BRW to minimum traiisler LUBR to SW at (x. yi. r = random (3. 35): t = random ( 20. 76). .create a conneeiion connccied between NBP new ly locating n at bottom at the position given b\ I and LUBR nevvlv locating it at top at the posiuon given by i with direcuυn output: conclude thai y = v - 40 return: conncct-BR -rouiine: lor C = each connection connected to NBP do il there exists a connection DC coiinecied to LUBR such thai (DC is the same obiect it C) then return: i = random (20. 76): r = random (3. 35): p = x-rel-posιtιoιι (NBP. LUBR). it p > 0 then create a connection of class c-line connected between NBP newly locaung it at right at the position given by r and LUBR ne ly locating it at bottom ai the position given by i with direction output, w nh vertices 6 -60 else il p - O ihen create a coiiiiecuon ol class -line connccied between NBP new ly locating il at bottom at the posiuon given by t and LUBR nevvlv locaung it ai lelt 52 ith direction output, ith vertices -60. .-cturii. TABLE 218a THE-BIOP OL-OF-R First class biopool Second class bioreactani Relation name the-biopool-ot-R Inverse ol relation a-bioreactant-ot Type ot relation one-to-many Relation is svmmeiric ".' no THE-BIOPOOL-OF-P First class biopool Second class bioproduct Relation name ihe-h.opool-ol-P Inverse ol relation a-bioproduct-ol Type ol relation one-io- many Relation is svmmetric ' no ao? TABLE ; i8b ΛLT-ACTIVATE-SIMULATION-PROC (panel c lass entry -panel, w in class w indow ι WS = ihe .subworkspace ol panel N'T = the neural-path-tiaeet upon WS SW = ihe subwork pace ol NT. \1 = the model-del liution upon WS BCB = the subvvoikspace ol Ihe basal-densiiy -source-tracer upon WS User-BC = the user-bc-br-list upon BCB simul-n = call uιl-unιι|ue-ιd ( simulation- ) change the name of SW to s mboK | sιmul-n] ) change ihe te\t ot the nems-belonging-io-iliis-model of M lo |ιhe name oi SW-] lor SBR = each bioreservoir upon SW do allow other proce sing. P( ) = ihe biopool upon ihe subvvoikspace of SBR. lor PP = each biopool-posi upon Uie subworkspace of SBR do tor SBP = each bioprocess upon SW do it the masier-bioprocess ot SBP = the i el -bioprocess ol PP then lor RP = each biorole-post upon the subworkspace ol SBP do il ihe rel -bioreserv ir of RP = ihe masier-bioreserv ir ol SBR then RO = the biorole-obiect connected lo RP it RO is a bioreactani then conclude that PO is THE-BIOPt X-lL- F-R RO else conclude that PO is THE-BI P L-OF-P RO il the basal-densiiv ol PO /= 99e-99 then inseri SBR at ihe end ot the bioreserv oir list User-BC call BASAL-DENSITY-PROC ( SBR panel), c hange ihe ol ilie c -panel-ieu upon BCB lo Sources ol v alues toi Basal Conieiiiration within the scone ol ihc current siniulatioi TABLE 219 panel class e-ntrv -panel ) Id. o. ap. c = call creat -querv -dialog ( Id . the sy mbol none No v alue lor t e concentration ol (the related-item oi panel] has been entered II you w ant to run the simulation vv iih no external input then press NONE II v ou w ant an input at time 0 enter the desired v alue in ihc box below and pi ess INPUT Oiherw ise press cancel and enier on ihe panel and press START again 0 0 w m 0. 0 ι conclude' lhat the id ot o = input conc lude that the label ol o = INPUT conclude lhat Ihe id ol Λp = none conclude lhat the label ol ap = NONE conclude thai the id ol c - cancel opuon = c all wait-lor-dialog (Id w m) se opuon i input C = call uil- et-query -dialog-v lue (fd). go to main-rouiine. none C - 0 0 go lo πiain-rouune cancel return main-iouune E\ = C I molarl * < 02 " _2 " . {nioleeules/lnei ] *• llie volume ( liters pei top container) ol top disable button ETtext = call cet-edii-box-valueipanel enirv -time i ET = quantity (ETiext i allow oilier proce>sin_ call START-SIMULATION-PROC (win panel). ail uniil I >= FT cheeking even 1 second conclude lhat DE = EV wail until t >= ET + incr checking even 1 second conclude that DF = 00 il i > FT + incr ihen return β- t TABLE 220 ALT-RESET-SIMULATION-CALLBACK ( button: class buuon. win: class vvnidovv. panel: class entry-panel ι M = die model-definition upon the workspace of button: call e2-resei-nu el (M ): conclude lhat the current-simulation-iime ol " panel = 0.0: conclude that the curreiii-simulauon -time -increment of panel = 0.0. it tliere exists a biomodel that is a-siniulated-hm-oi " M then lor BM = each biomodel thai is a-simulaied-bm-of M do allow other processing: chance the status-color icon-color of BM to medium-aquamarine; conclude lhat BM is not A-SIMULATED-BM- F M: n " tliere exists a bm-downsiream-bp-siniitlaiioii-list DBPL upon SW then delete DBPL: il " tliere exists a down-br-simulaiioii-list DBRL upon SW then delete DBRL: if there exists a up-hr-simulaiion-lisi UBRL upon SW then delete UBRL; it there exists a text-pushbutioii Is upon SW such that (the id of Is = " Is " ) then disable Is; ii " ihere exists a texi-pushbutioii dr upon SW such that (the id of dr = "dr " ) then disable dr; u there exisis a text-pushbutton si upon SW such that (the id of si = " si " ) then disable st. il there exists a lexi-pushbuuon pa upon SW such thai (the id of pa = " pa " ) then disable pa; a there exists a text-pushbutton rm upon SW such lhat (the id of rm = "rm " ) then disable rm; il there exists a text-push, utton de upon SW such that (the id of de = "de") then enable de; TABLE 221 an user-menu-choice Label show-bp Applicable class biopool-post Condition the ref-bioprocess of llie uem has a value Acuon start POOLPOST-SHOW-BP-PROC (the uem. tins window) POOLPOST-SHOW -BP-PROC (post: class biopool-post. win: class window! if post has a name then BP = the bioprocess named by the ref-bioprocess of post else if there exists a bioprocess ABP such that (ABP as no name and ihe master-bioprocess ot ABP has a current value and the master-bioprocess ol ABP = the ref-bioprocess oi posi) then BP = ABP. change ihe size ol the subworkspace of BP io minimum: case ( ihe toggle-siaic oi posi ) of show . chance ihe color-pattern ol post so that light-color is dim-gray . dark-color is light-gray . white-color = the symbol black, conclude that tlie toggle-siate ol " post is hide: case i the class ot post) ol biopool-p-post: show the subworkspace of BP on W at lull scale with us center 280 units above the center ot the screen, biopool-r-post: sho the subworkspace of BP on W at full scale with its center 280 units below the center oi the screen, hide: chance the color-pattern of post so Dial light-color is light-gray . dark-color is dun-gray . wliue-color = the symbol white: conclude thai the toggle-state of post is show: .iide die Mib vυrkspace of BP on W: _2// TABLE 222 Class name expei nie'iu-seleeiion Supenoi class bioiool Aiinbuies sp cific to class label is rel-biorc servoir amouni-enny is 0 0. lactor-eniry is 00. lune-eniry is 0 seconds. currently -.selected has values true or tal.se (delauli i FALSE) Class lesiπciions unless in developer, oi modeler mode: selecting any expenπieni-seleciion implies table Attribute displays label oil " sei by ( -37. 12 ) Lon desenpiion expenπieiu-se'leeiion-paitern ( width 70 height 40. dai k-coloi . light-color . ty pe-color . w hite-color TABLE 223 BR-SCROLL-CALLBACK ( ii aeei class bι -scιoll-tιaeeι. w in class w indow , dig class entry-panel) create a workspace display by cloning t e SW ol BR-SCROLL. make display the SW of tracer, creale a lexi ' -hst BRNL. loi each bioiesorvoir BR vv nh a name do inseri <ιhe name of BR> " at the end of the lext list BRNL: add each message in lisi BRNL lo ihe scioll-area upon display . c hange the s e ol display to minimum, show displav on wm al the bottom πulit comer ol the screen, delete BRNL. retuπi TABLE 224 Cla s name process-buuon Supenoi clas.s action-bution Aiinbuies speciiic lo class aciion-pn .-name is PROCESS-EXPER-CALLBACK Icon descnpuon process-buuon-pattcπi ( v idlh 80. height 30) PROCKSS-KXPER-CALLBACK (buuon c lass pushbutton, win class w indow panel c lass entr -panel) SW' = the subvvoikspace ol panel. M = the model-del inilion upon SW. create a downstreani-bioreservOirs-li.si BRL. itaiisiei BRL lo SW at ( -370. -335). create a expeπnieni-seleeiions-hsi SL. traiisler SL lo SW at 1 -275. -335). create a downsneani-biopiocesse.s-hst BPL. ii aiisiei BPL to SW at ( - ISO. -335). cieaie a scroll-iext-hst PSML. loi KS = each e.xperimeni-se'leciion upon SW do allow oilier processing, il the text ol llie let-hioicservoir ol ES /= none and the lext ol the cuπvnilv -selected ol ES = H ue ihen inseri KS ai the end ol the expcπmeni-selection list SL. BR = the bioreser ou named bv the lei -bioreserv ir oi ES call πi.L-BR-DOWNSTREAM-I.lSTS-PROC i BR. BRL. BPL. w im lor DBP = each bioprocess in BPL do lor DBM = each biomodel Ihal is ihe-conlainer-ot-bp DBP do il DBM is noi a bioreservoir- bin then insert ' (ihe name ol DBM] ' at ihe end ol the lexi hsi PSML. loi DBP = each bioprocess in BPL do lor DBMT = each lexi in PSML do DBMN = sv mbol( DBMT). DBM = ihe biomodel named by DBMN. il DBM is noi ilie-coniaiiier-ol-bp DBP then remove DBMT tro t e texi list PSML. lor DBMT = each text in PSML do DBMN - sv mboK DBMT). DBM = the biomodel named bv DBMN s = eall create-scιoll-area-ιrom-list ( seleci-bioπu .del-scroll . 5 PSML. panel -270 -22R). chance the text of the id ol >a to select-biomi xlel-scroll. conclude ihal ihe allow-uiiselcct-on-selected-message ol sa is true, conclude thai the allow -niultiplc-niniuliancous- .elections ol s is true, change the text ot the niessage-seleciion-method ol >a lo MESSAGE-SELECTION, change the lexi ol Ihe message-unselection-method ol sa io MESSAGK-UNSKI .F.CTION it Iheie exists a lext-puslibuilon Is upon SW such thai ( die id ol U = Is ι ihen disable Is. ii there exists a lext-pushbuuon cl upon SW sudi lhat ( the id ol e l = c l ) then enable el. disable tiuitor. _3/ TAR! F 22 CLEAR-EXPER-CALLBACK (buuon: pushbutton, vv nr class vvnidovv. pain •! • class ι'iιtry-p.mt*l i SW = she subworkspace ot panel, if there exists an c2-lιsι upon panel then lor L = each g2 -list upon panel do delete L: if there exists a uil-scroll-area sa upon panel such that (the id ot de = "select-biomodel-scroU " ) then delete sa: il there exists a lexi-pushbution pr upon SW such that (ihe id ol pr = "pr") then enable pr, disable button: TABLE 226 LIST-EXPER-CALLBACK (buuon: class pushbutton, win: class window, panel: class enirv-panel i SW = the subworkspace of panel: M: class model -definition = the model -definition upon SW: DBRL = the downstream-bioreservoirs-list upon SW; DBPL= the downstream-bioprocesses.list upon SW. UBRL = the up-bioreservoirs-list upon SW, n. integer = 0. it there exists a scroll-area sa upon SW such that (ihe id of sa = "sa") then if not (there exists an message-obiect thai is a-selecied-message-ot sa) then go to no-eniry-routiiie else create a bni -downstream-hp-simulation-list CDBPL: create a down-br-simuiation-lisi CDBRL: creale an up-br-simulaiion-list CUBRL. call READ-SCROLL-PROC ( DBRL. DBPL. UBRL. CDBRL. CDBPL. CUBRL. win. panel): iransler CDBPL to SW at (-90. -35 1. iransler CDBRL io SW at (-35. -350). inster CUBRL to SW at ( 20. -350), n there exists a text-pushbutton hi upon SW such that (the id of hi = "hi " ) then disable hi, disable button, retuπi. no - t.trv-ri.uiiiie. md = call uil-crcaie-message-dialog ι " m ' . "No bioModel has been selected for this experiment Click on the '.' button lor h lp, lollovv Uie instructions and click on LIST again " , w in. 0. 0.. return: TABLE 229 ACTIV ATE-EXPER-CALLB ACK (button: class pushbutton, w in: class w indow , panel, class entry -panel ) WS = the subworkspace ot panel. ESL= the experinient-seleciions-lisi upon WS: DBPL= ihe bm -dovviistream-bp-siniuiaiion-list upon WS. v al = local text. it the uscr-mi xle ol win is simulation then lor ES = each expeπnieni-seleciion in ESL do il the amount -entry ol ES = 0.0 and the tactor-cntry ol ES = 00 then co io no-value-rouiiiie else go to main-routine: no-vaiue-routine: id = call creaie-query-dialoc ( " Id " . " No value for the amount -entrv or factor -en y oi (the label ol ES I has been entered. If you want to run the simulation with no external input then enter YES in the box below and press OK. Otherwise, press OK. enter the desired value lor tins expenmeni-selection. and press ACTIVATE again. " , the symbol large. " NO " , w in. 0. Oi, val = call get-query-dialog-vaiue ( Id ). it val = YES " then go io main-rouune else return, niaiii-routine: il the number ol elements in DBPL = 0 then go to no-bp-rouii e else call ACTIV ATE-SIMULATION-PROC ( win. panel ), disable buuon: return: iio-bn-routine ad = call creaic'-nιessagc-ιlι..log < ad . " There are no bioPnvesses that can be selected lor activ tion . in. 0. o reiurn. ^2 3 TABLE 227 DRAW-EXPER-PATHW AY-CALLBACK (buuon CI.LSS button, w in class indow , panel- class entry -panel WS = the subworkspace ol panel EL = tlie experimctu-selections-lisi upon WS DBPL = the bm -downsiream-bp-siniulauon-list upon WS lint-x integer = - 50. it ihere exists a c-nav ig-path-traccr upon WS then lor NT = each c-nav tc-paιh-ιraccr upon WS do delete NT: create a nav ic-paih-traccr NT bv cloniiic M. .STER -N AVIG-PATHWAY iransler NT To WS at ( 0. -240) SW = the subworkspace ot NT. x = the x-pos upon SW. y = the y-pos upon SW. conclude that y = 120. show WS at hall scale w uh us bottom right co er at the bottom right co er of the screen show SW at three -quarter scale with its top leu co er 50 units below the top leli comer of the screen call CONFIGURE-PATH-TRACER-PROC (NT. win). lor E = each cxpeπniciit-selecuon in EL do allow other processing n = n + 1 conclude that x = lint-x + 110 " (n - 1 ). conclude that y = y - 100. BR = the biorescrv ir named by the rct-biorcsenoir ol E it there exists bioprocess that is a-dow n-bioprocess-ol BR then conclude that the status ol BR is selected-lor-iiiput BT = the biomodcl-inle upon SW conclude thai the label ol BT = Iihe label ol BT] [the label ol BR] " create a biorescrvoir LBR bv cloning BR iransler LBR io SW at (x. > ' ) conclude lhat y = y - 40. lor DBP = each bioprocess that is a-dow n-hioproeess-oi BR do allow other processing, conclude that x = x + 110. create a bioprocess LDBP by cloning DBP. traiisler LDBP to SW at ix. y ) r = random ( 3. 35 ). t = random ( 20. 76). create a conneeiion coiinecied betw ecu LBR new ly locating it at right at the position giv en by r and LDBP newly locaung it at top at the position given by l with direction output conclude thai v = v - 40 call CREATE ' -LOC. -L-EXPER-BP-PROC ( DBP. LDBP. SW. w im change die size ol S to minimum disable buuor. return TABLE 230 EV = the ol ES. FE = the lacior -entry ol ES ET = the time -entry ol " ES il EV /= 0 0 then it BR is a sol-mol-reserv ir or BR is a exp-cell-reser ir then start CONC-INPUT-PROC ( BR. EV. ET w m. di ' else start DENSITY-INPUT-PROC (BR. EV. ET. win. die) else start DENSITY-INPUT-PROC ( BR. FE ET. w in. dig), start running the mixlel M conclude thai ihc model-simulaiion-siaius ot M is running, .md inlorm die operator that The simulalion vvnhin <the items-belongin -lo-lhis-niodel ol M> has si.tried at <tne current time as a time stamp> enable ihe buuon upon p.uiel w hich id is pa disable buuon. rctuπi _2,V TABLE 228 reiuπi: connect-BP-rouune: for each connection C connected lo LBP do if Uiere exists a connection DC connected to MBP such dial DC is ϋie same object as C then reiurn: il Uie x-position of LBP is lower than ϋie x-posiύon of MBP) Uien create a connecuon of class c-line connected between LBP newly locating it at πghi at Uie posiuon given by- random (3. 35) and MBP newly locating it at bottom at ϋie position given by random (20. 76) widi direction output, widi vertices 6 -60 else il Uie x-posιuon ol LBP is higher ϋian die x-position ol MBP) ϋien creale a connection ol class c-line connected between LBP newly locating it at bottom at Uie position given bv (20. 76) and MBP nevv lv locauns it at left 52 with direction output, with vertices -60. call CREATE-LOCAL-EXPER-BP-PROC ( DBP. MBP. display, win), return TABLE 231 CONC-INPUT-PROC ( BR: class bioreservoir. C: float . ET: integer, wm: class window, dig: class dialog ) PO = the biopool upon Uie subworkspace of BR: top = Uie top-container ϋiat is dw-container-υj-br BR: define a local float EV: il BR is a sol-mol-reservoir or BR is a exp-cell-reservoir Uien EV = C {molar} * 6.023e23 ( molecules/liter ) * Uie volume ol top { liters} i = Uie current-stmulation-time of dig: incr = die cuιτeιιt-sιmulatιon-ume-ιιιcremeιιι of dig: wait until t >= ET checking every 1 second: conclude Uiai Uie density -entry of PO = EV: wait unul t >= ET + incr checking every 1 second conclude ϋiat Uie density-entry of PO = 0.0: il l > ET + incr Uien return DENSITY-INPUT-PROC (BR: class bioreservoir. D: lloat . ET: integer, win: class window, dig: class duilo. ) PO = die biopool upon ϋie SW of BR: I = Uie current-simuiation-time ol dig: incr = Uie currciu-simulauon-ume-incremem ol dig: wait until t >= ET checking ev er 1 second: conclude dial Uie density-entry o PO = D: wan unul t >= ET + incr checking every 1 second, conclude ϋiat ϋie density -entry o PO = 0.0. I I t > ET + incr Uien return: RELATIVE-INPUT-PROC (BR: clas.s bioreservoir. F: lloaL ET: integer, win: class w indow, dig: class dialog ) PO = die biopool upon Uie subworkspace ol BR. t = Uie curreiii-stmulaiioii-ume of dig: incr = ϋie curτent-simulaϋon-ume-ιncremenι ol dig: w ait until t >= ET checking every 1 second, conclude ϋiat Uie scaled-entr of PO = F. wait unul t >= ET + incr checking ev ery 1 second, conclude Uiai Uie scaled-entry ot PO = 0.0. il t > ET + incr then return. _3J5 TABLE 232 PAL'SE-EXPER-CALLBACK (button: class pushbutton, win: class window, panel: class entry-panel) SW = the subworkspace ol panel: M = the model-dell niiton upon SW: call s2-pausc-model (M). if there exists a text-pushbutton rm upon SW such that (the id o rm = "rm") then enable rm: disable button : RESUME-EXPER-CALLBACK (button: class pushbutton, win: class window, panel: class entry-panel) SW = the subworkspace ol panel: M = the model -definition upon SW: call c2-resume -model (M ): conclude that ihe model-simulation -status of M is running. il there exists a text-pushbutlon pa upon SW such that ( the id of pa = "pa") ihen enable pa: disable button: TABLE 23: RESET-EXPER-CALLBACK (button, class pushbutton, win: class window, panel: class entry-panel) SW = the subworkspace ol panel: M = ihe model-definition upon SW: if the _.2-uscr-mode ol " win is simulation then calfRESET-SIM UL-PROC (M. panel): call g2-rescι-nιodel ( ): conclude that the curreni-simulation-iimc ϊ panel = 0 seconds: conclude that the current-siniulaiion-timc-incrcment ot panel = 0 seconds: else call RESET-NAVIG-PROC (panel), il there exists a texi-pushbuiion st upon SW such lhat (the id of st = "st") then disable si. il there exists a text-pushbutton pa upon SW such that (the id of pa = "pa") then disable pa. i there exists a icxt-pushbuiion rm upon SW such that (the id ol rm = "rm") then disable rm: il there exists a text-pushbutlon hi upon SW such that (the id ol hi = "hi") then enable hi: lor md = each uil-message -dialog upon the subworkspace ol DIALOG-BIN do delete md. _2/

Claims: CLAIMS: What is claimed is: 1. A computer system comprising one or more processors coupled to one or more memory components, storage devices, displays, and user input devices, further comprising a program stored in said memory components for enabling the computer generation of virtual iconic models of complex multidimensional systems, wherein said program further comprise: • sets of different types of modular domain-specific processes icons, wherein each of said process icons represent one the many processes of different types in said complex system, together with its inputs and outputs • sets of modular domain-specific reservoir icons, wherein each of said reservoir icons represents a pool of a single type/state of entity in said complex system, together with its inputs and outputs; • a code library comprising means for establishing links between process icons and reservoir icons, wherein said links are established between each input component of a process icon and an output component of each reservoir icon representing an input source for said process; and wherein said links are established between each output component of a process icon and an input component of each reservoir icon representing an output target for said process; • a code library comprising the means for the integration of alternating layers of said processes icons linked to said reservoir icons into multidimensional pathways, wherein each of said reservoir icons receives inputs from one or more of said process icons and /or is the source of inputs to one or more of said process icons, and wherein each of said process icons receives inputs from one or more of said reservoir icons and /or is the source of inputs to one or more of said reservoir icons; 2. An system based on simulated virtual iconic models of complex processing systems for enabling the monitoring and control of the operation of said processing systems, wherein said virtual models comprise multidimensional pathways of linked and alternating processes icons and reservoir icons, wherein the process icons represent different types of processes in said processing system, together with their inputs and outputs, w herein each of said reservoir icons represents a pool of a single type/state of entitv in said system, together with its inputs and outputs, wherein each of said reservoir icons receives inputs from one or more of said process icons and/or is the source of inputs to one or more of said process icons, wherein each of said process icons receives inputs from one or more of said reservoir icons and/or is the source of inputs to one or more of said reservoir icons, and wherein the system further comprises: • a computer system comprising one or more processors coupled to one or more memorv units, storage devices, displays, and user input devices; • a reactor, wherein the reactor may comprise any combination of reaction tanks, fermentors, bioreactors, or any other domain-specific processing systems, such as ecological habitats, environmental svstems, manufacturing systems, or work places; • one or more monitoring devices linked to said computer system, wherein said devices monitor the operation of said reactor, and wherein said devices may compπse any combination of hardware, software, or manual data acquisition devices, such as sensors or other devices that measure values related to certain entities in the reactor, signal transducers, filters, amplifiers, data acquisition boards, appropriate device drivers, or any other required devices; • one or more controller devices linked to said computer system, wherein said devices regulate the operation of said reactor, such as controlling the flow of certain inputs to the reactor; • one or more domain-specific knowledge-bases loaded on said computer system describing virtual models of said complex processing systems, wherein said virtual models encapsulate variables, parameters and values characteristic of said processing systems for enabling the real-time simulation of said processing systems, and wherein one or more of said variables represent values of certain entities in the reactor, • a mam program loaded on said computer system, wherein the components of said main program comprise: • monitoring components enabling the use of values monitored in said reactor to provide inputs to the simulation components and/or the control components; • simulation components enabling the real-time simulation of said virtual models based on the mformahon and data contained in said domain-specific knowledge-bases, with or without additional inputs from said monitoring components; • control components enabling the generation of control signals that are based on said simulation o the virtual models, wherein said control signals may or may not be additionally based on inputs trom said monitoπng components, and wherein said control signals are passed to said controller devices tor regulating the operation of said reactor. 2/7 • one or more moruronns; interfaces loaded on said computer svstem, wherein said interfaces provide -ortware bridges between said monitonng devices and said main program enabling passing ot values measured for certain entities ui the reactor to the corresponding v anables encapsulated in the v irtual models that represent said values being measured, • one or more controller intertaces loaded on said computer svstem, wherein said interfaces prov ide sottware bndges between said main program and said controller devices enabling passing ot control signals generated by said main program based on the real-time simulauon of said virtual modeis 3 A svstem as descnbed in any ot the preceding claims, further compnsing location icons representing discrete space compartments enabling to visually organize the large amounts ot components of said virtual models into multiple encapsulated lavers ot compartments representing the actual location of the entities or processes of the complex systems represented by said components 4 A svstem as descπbed in anv ot the preceding claims, further compnsing ftme-compartment icons representing discrete time compartments, enabling to v isuallv organize the large amounts of components ot said virtual models into a senes ot successive compartments representing the actual time sequence ot ordered set ot the processes of the complex svstems represented bv said components * i A svstem as described in anv of the preceding claims, further comprising entirv icons representing the description ot representativ e units of the entities of the pools represented bv said reservoir icons vv herein said descπption can be accessed trom the reservoir icons h A svstem as described in any ot the preceding claims, wherein each process icon represents a composite obiect with an associated subworkspace, wherein said subworkspace holds a predefined set of the modular iconic components ot each process icon enabling visual access to each ot said components vv herein said subworkspace can be displaved or hidden enabling the hiding or v isual displav ot said components and w herein said components of each process icon turther compnse • reactant icons representing the different inputs to said process icon wherein different tvpes ot reactant icons represent the difterent roles that said inputs play as participants in the process represented bv the process icon, wherein each of said reactant icons is to be linked to one of the input components ot a reservoir, • an engine icon representing the action pertormed by the process represented bv said process icon, • pnxiuct icons representing the difterent outputs trom the process represented bv said process icon wherein each of said product icons is to be linked to one ot the input components ot a reservoir 7 A svstem as descπbed in anv ot the preceding claims, vv herein each reservoir icon represents a composite obiect w ith an associated subworkspace, herein said subworkspace holds a predefined set ot the modular iconic components ot each reservoir icon enabling v isual access to each ot said components vv herein said subvv orkspace can be displayed or hidden enabling the hiding or v isual displav ot said components and vv herein said components ot each reserv ir icon further comprise • a pool icon representing a pool ot a single tvpe/ tate ot entities • a set ot input-connector icons connected to said pool icon vv herein each ot said connector icons represent each ot tlie inputs to said pool and is to be linked to one ot the output components or a pre Kes- and • a set ot output-connector icons connected to said pool icon, w herein each ot said connector icons represent each ot the outputs to said pool and is to be linked to one ot the input components oi a proce— 5 A svstem as descnbed in anv of the preceding claims, wherein each ot the processes icons and reserv oir icons of the virtual model encapsulates one or more vaπables, parameters or values that represent quantities rates coefficients or other quantitativ e or svmbol ic v alues, enabling to distribute the components ot the mathematical models or interence models that characteπze the behav lor ot the complex svstem among all its modular components, and turther enabling the manipulation ot anv ot those values tor anv icon independently ot the others 9 A sv stem as described in anv ot the preceding claims turther compnsing libraries ot iconic prebuilt building-blocks vv ith associated methods for enabling the v isual and interactiv e building Of \ irtual model- ot complex svstems, wherein said libraries further comprise • a library ot different tvpes ot modular dυmain-speci ti process icons representing different tvpes ot domain-specmc processes • a librarv ot different tvpes ot modular domain-specific reserv ir icons representing pools ot ditterent tvpes of domain-specific entities, and • a code librarv comprising the means tor interactively create and link apphcation-specitic sets ot roc ss icons and reserv oir icons enabling the rapid creation or expansion ot v irtual models 10 A svstem as descnbed in anv ot the preceding claims, turther compnsing a program tor enabling the dvnamic generation ot interactive iconic displays of the interconnected components ot the multidimensional pathways ot said virtual models, wherein said program turther comprise • a graphic user interface with means tor enabling the selection or control of said dynamic displavs of said pathways, and • a code library compnsing the means for executing the inference processing required for said dvnamic generation of displays ot pathways and other related tasks requested by the user rom said graphic user intertace 1 A system as descπbed in any ot the preceding claims, further compnsing a program tor enabling the navigation through Uie components ot said virtual models, wherein said program further compπse • a graphic user interface with means tor enabling the start or control of said nav igation, and • a code library compnsing the means tor executing the interence processing required tor said the navigation tasks requested bv the user rom said graphic user interface 12 A svstem as descnbed in anv of the preceding claims, further compnsing a program tor enabling the real-time simulation ot said virtual models, wherein said program turther compnse • a graphic user intertace with means for enabling the start or control of said simulation, and • a code library comprising the means tor executing the inference and simulation processing required for said simulation and other related tasks requested by the user from said graphic user mtertace 13 A svstem as descnbed in anv ot the preceding claims, turther compnsing a program compnsing the means to pertomi mixed-type simulations ot said virtual models, combining quantitative, semi-quantitative and heuristic methods enabling the combination ot v aπous types ot information and data of ditterent degrees ot precision 14 A svstem as descnbed in anv ot the preceding claims, further compnsing a program compnsing the means to perform simulations ot said virtual models, , wherein said program compπse methods capable ot reasoning duπng said simulations about values or events over time I S A svstem as descπbed in anv ot the preceding claims, further compnsing a program for enabling the performance of queπes based on the difterent types ot components ot said virtual models, vv herein said program further compπse • a graphic user intertace with means tor enabling the selection of the constraints or the display the results ot ot said queries, and • a code librarv compnsing the means for executing the complex mference processing required tor said queries and other related tasks requested bv the user from said graphic user intertace 16 A svstem as described in any ot the precedmg claims, wherein the virtual models ot complex sv stems represent chemical systems 17 A svstem as described in anv ot the preceding claims vv herein the v irtual models of complex svstems represent biological cellular sv stems ϊή

Inventors: THALHAMMER-REYERO CRISTINA, THALHAMMER-REYERO, CRISTINA
Applicants: INTERTECH VENTURES LTD, THALHAMMER REYERO CRISTINA, INTERTECH VENTURES, LTD., THALHAMMER-REYERO, CRISTINA
Application year: 1996
Main classification: G06F19
IPC codes: G05B17, G06F17, G06F19