2,116 research outputs found

    NL4Py: Agent-Based Modeling in Python with Parallelizable NetLogo Workspaces

    Full text link
    NL4Py is a NetLogo controller software for Python, for the rapid, parallel execution of NetLogo models. NL4Py provides both headless (no graphical user interface) and GUI NetLogo workspace control through Python. Spurred on by the increasing availability of open-source computation and machine learning libraries on the Python package index, there is an increasing demand for such rapid, parallel execution of agent-based models through Python. NetLogo, being the language of choice for a majority of agent-based modeling driven research projects, requires an integration to Python for researchers looking to perform statistical analyses of agent-based model output using these libraries. Unfortunately, until the recent introduction of PyNetLogo, and now NL4Py, such a controller was unavailable. This article provides a detailed introduction into the usage of NL4Py and explains its client-server software architecture, highlighting architectural differences to PyNetLogo. A step-by-step demonstration of global sensitivity analysis and parameter calibration of the Wolf Sheep Predation model is then performed through NL4Py. Finally, NL4Py's performance is benchmarked against PyNetLogo and its combination with IPyParallel, and shown to provide significant savings in execution time over both configurations

    Performance of three commercial lipases in a model enzyme modified cheese system : a thesis presented in partial fulfilment of the requirements for the degree of Master of Technology in Food Technology at Massey University

    Get PDF
    The effects of Amano 'R' (from Penicillium roqueforti), Palatase (from Mucor miehei) and kid lipase (from kid goat) activity on hydrolysis of triglycerides in a constant enzyme modified cheese (EMC) base have been investigated. The effects of incubation time, temperature, enzyme concentration, pH, water activity (a w ) and salt-in-moisture content on enzyme activity were studied. Under the same conditions (0.15% enzyme, 30°C, 24 h), Palatase and Amano 'R' showed a greater extent of hydrolysis (total free fatty acids) than Kid lipase. The total free fatty acids (FFAs) released by Palatase, Amano 'R' and Kid lipase were 224, 188 and 20.5 mmol FFA. kg EMC. -1 , respectively. The optimum temperature for hydrolysis by Amano 'R', Palatase and Kid lipase was around 30°C, 55°C and 45°C respectively. Amano 'R' was very heat sensitive, compared to the other two enzymes. Hydrolysis increased with increasing initial pH. The optimum pH's determined for Amano 'R', Palatase and Kid lipase were 7.5, 8.0 and 5.5 respectively. Enzyme activity decreased slightly as water activity decreased and salt-in-moisture content increased, for all enzymes. The incubation time and enzyme concentration showed the expected trend. At all process conditions, a high percentage (about 55%) of the fatty acids released by kid lipase was butyric acid. Both Palatase and Amano 'R' were relatively non selective and released large amounts of all fatty acids. Compared to Palatase, Amano 'R' selectively released a higher percentage of butyric acid (about 15% compared to 10%). Generally, the rate of release of butyric acid was greater at lower incubation temperatures for all enzymes. Also, the percentage of butyric acid release decreased with increasing initial pH for Palatase lipase

    On CAPM and Black-Scholes, differing risk-return strategies

    Get PDF
    In their path-finding 1973 paper Black and Scholes presented two separate derivations of their famous option pricing partial differential equation (pde). The second derivation was from the standpoint that was Black’s original motivation, namely, the capital asset pricing model (CAPM). We show here, in contrast, that the option valuation is not uniquely determined; in particular, strategies based on the delta-hedge and CAPM provide different valuations of an option although both hedges are instantaneouly riskfree. Second, we show explicitly that CAPM is not, as economists claim, an equilibrium theory.Capital asset pricing model (CAPM); nonequilibrium; financial markets; Black-Scholes; option pricing strategies;

    An empirical model of volatility of returns and option pricing

    Get PDF
    This paper reports several entirely new results on financial market dynamics and option pricing We observe that empirical distributions of returns are much better approximated by an exponential distribution than by a Gaussian. This exponential distribution of asset prices can be used to develop a new pricing model for options (in closed algebraic form) that is shown to provide valuations that agree very well with those used by traders. We show how the Fokker-Planck formulation of fluctuations can be used with a local volatility (diffusion coeffficient) to generate an exponential distribution for asset returns, and also how fat tails for extreme returns are generated dynamically by a simple generalization of our new volatility model. Nonuniqueness in deducing dynamics from empirical data is discussed and is shown to have no practical effect over time scales much less than one hundred years. We derive an option pricing pde and explain why it‘s superfluous, because all information required to price options in agreement with the delta-hedge is already included in the Green function of the Fokker-Planck equation for a special choice of parameters. Finally, we also show how to calculate put and call prices for a stretched exponential returns density.Market instability; market dynamics; finance; option pricing

    Multi-resolution dimer models in heat baths with short-range and long-range interactions

    Full text link
    This work investigates multi-resolution methodologies for simulating dimer models. The solvent particles which make up the heat bath interact with the monomers of the dimer either through direct collisions (short-range) or through harmonic springs (long-range). Two types of multi-resolution methodologies are considered in detail: (a) describing parts of the solvent far away from the dimer by a coarser approach; (b) describing each monomer of the dimer by using a model with different level of resolution. These methodologies are then utilised to investigate the effect of a shared heat bath versus two uncoupled heat baths, one for each monomer. Furthermore the validity of the multi-resolution methods is discussed by comparison to dynamics of macroscopic Langevin equations.Comment: Submitted to Interface Focu
    • …
    corecore