Nuno Fachada
Instituto Superior Técnico
Network
Latest external collaboration on country level. Dive into details by clicking on the dots.
Publication
Featured researches published by Nuno Fachada.
International Journal of Parallel Programming | 2017
Nuno Fachada; Vitor V. Lopes; Rui C. Martins; Agostinho C. Rosa
Agent-based modeling (ABM) is a bottom-up modeling approach, where each entity of the system being modeled is uniquely represented as an independent decision-making agent. Large scale emergent behavior in ABMs is population sensitive. As such, the number of agents in a simulation should be able to reflect the reality of the system being modeled, which can be in the order of millions or billions of individuals in certain domains. A natural solution to reach acceptable scalability in commodity multi-core processors consists of decomposing models such that each component can be independently processed by a different thread in a concurrent manner. In this paper we present a multithreaded Java implementation of the PPHPC ABM, with two goals in mind: (1) compare the performance of this implementation with an existing NetLogo implementation; and, (2) study how different parallelization strategies impact simulation performance on a shared memory architecture. Results show that: (1) model parallelization can yield considerable performance gains; (2) distinct parallelization strategies offer specific trade-offs in terms of performance and simulation reproducibility; and, (3) PPHPC is a valid reference model for comparing distinct implementations or parallelization strategies, from both performance and statistical accuracy perspectives.
PeerJ | 2015
Nuno Fachada; Vitor V. Lopes; Rui C. Martins; Agostinho C. Rosa
This work was supported by the Fundacao para a Ciencia e a Tecnologia (FCT) projects UID/EEA/50009/2013, UID/MAT/04561/2013 and (P. RD0389) Incentivo/EEI/LA0009/2014, and partially funded with grant SFRH/BD/48310/2008, also from FCT. The author Vitor V. Lopes acknowledges the financial support from the Prometeo project of SENESCYT (Ecuador).
portuguese conference on artificial intelligence | 2009
Carlos Isidoro; Nuno Fachada; Fábio Barata; Agostinho C. Rosa
The paper presents an agent based model of the Aedes aegypti mosquito and it is focused on simulations of population dynamics and population control strategies. The agents model the main aspects of mosquitos ecology and behavior, while the environmental components are implemented as layer of dynamic elements obeying to physical laws. The main objective of this approach is to provide realistic simulations of insect biologic control strategies, namely population suppression by releasing large amounts of sterile males, such as Sterile Insect Technique (SIT) or Release of Insects carrying a Dominant Lethal gene (RIDL). Model verification is done through simulations analysis of parameters variation and qualitative assessment with existing models and simulations. The use of LAIS simulator proved to be a valuable tool allowing efficient agent based modeling (ABM) and simulations deployment and analysis.
Simulation Modelling Practice and Theory | 2017
Nuno Fachada; Vitor V. Lopes; Rui C. Martins; Agostinho C. Rosa
Abstract Computational models of complex systems are usually elaborate and sensitive to implementation details, characteristics which often affect their verification and validation. Model replication is a possible solution to this issue. It avoids biases associated with the language or toolkit used to develop the original model, not only promoting its verification and validation, but also fostering the credibility of the underlying conceptual model. However, different model implementations must be compared to assess their equivalence. The problem is, given two or more implementations of a stochastic model, how to prove that they display similar behavior? In this paper, we present a model comparison technique, which uses principal component analysis to convert simulation output into a set of linearly uncorrelated statistical measures, analyzable in a consistent, model-independent fashion. It is appropriate for ascertaining distributional equivalence of a model replication with its original implementation. Besides model-independence, this technique has three other desirable properties: a) it automatically selects output features that best explain implementation differences; b) it does not depend on the distributional properties of simulation output; and, c) it simplifies the modelers’ work, as it can be used directly on simulation outputs. The proposed technique is shown to produce similar results to the manual or empirical selection of output features when applied to a well-studied reference model.
european conference on artificial life | 2009
Carlos Isidoro; Nuno Fachada; Fábio Barata; Agostinho C. Rosa
This paper presents an agent based model of the Aedes aegypti mosquito showing not only population dynamics but also the Dengue disease propagation in both the vector and host populations (mosquitoes and humans, respectively); this study will focus on the latter aspect. The agents model the main aspects of the mosquitos ecology and behavior, while the environmental components are implemented as a layer of dynamic elements obeying to physical laws. Model verification was performed through examination of simulation parameters variation and qualitative assessment with existing models and simulations. The agent based modeling and simulation platform used was the LAIS simulator.
acm symposium on applied computing | 2009
Nuno Fachada; Vitor V. Lopes; Agostinho C. Rosa
Computational models of the immune system and pathogenic agents have several applications, such as theory testing and validation, or as a complement to first stages of drug trials. One possible application is the prediction of the lethality of new Influenza A strains, which are constantly created due to antigenic drift and shift. Here, we present an agent-based model of immune-influenza A dynamics, with focus on low level molecular antigen-antibody interactions, in order to study antigenic drift and shift events, and analyze the virulence of emergent strains. At this stage of the investigation, results are presented and discussed from a qualitative point of view against recent and generally recognized immunology and influenza literature.
PeerJ | 2015
Nuno Fachada; Vitor V. Lopes; Rui C. Martins; Agostinho C. Rosa
Agent-based modeling (ABM) is a bottom-up modeling approach, where each entity of the system being modeled is uniquely represented as an independent decision-making agent. ABMs are very sensitive to implementation details. Thus, it is very easy to inadvertently introduce changes which modify model dynamics. Such problems usually arise due to the lack of transparency in model descriptions, which constrains how models are assessed, implemented and replicated. In this paper, we present a template ABM which aims to serve as a basis for a series of investigations, including, but not limited to, conceptual model specification, statistical analysis of simulation output, model comparison and model parallelization. This paper focuses on the first two aspects (conceptual model specification and statistical analysis of simulation output), also providing a canonical implementation of the template ABM, such that it serves as a complete reference to the presented model. Additionally, this study is presented in a tutorial fashion, and can be used as a road map for simulation practitioners who wish to improve the way they communicate their ABMs.
Pattern Recognition Letters | 2014
Nuno Fachada; Mário A. T. Figueiredo; Vitor V. Lopes; Rui C. Martins; Agostinho C. Rosa
Abstract This paper proposes new clustering criteria for distinguishing Saccharomyces cerevisiae (yeast) strains using their spectrometric signature. These criteria are introduced in an agglomerative hierarchical clustering context, and consist of: (a) minimizing the total volume of clusters, as given by their respective convex hulls; and, (b) minimizing the global variance in cluster directionality. The method is deterministic and produces dendrograms, which are important features for microbiologists. A set of experiments, performed on yeast spectrometric data and on synthetic data, show the new approach outperforms several well-known clustering algorithms, including techniques commonly used for microorganism differentiation.
Science of Computer Programming | 2017
Nuno Fachada; Vitor V. Lopes; Rui C. Martins; Agostinho C. Rosa
Abstract OpenCL is an open standard for parallel programming of heterogeneous compute devices, such as GPUs, CPUs, DSPs or FPGAs. However, the verbosity of its C host API can hinder application development. In this paper we present cf4ocl, a software library for rapid development of OpenCL programs in pure C. It aims to reduce the verbosity of the OpenCL API, offering straightforward memory management, integrated profiling of events (e.g., kernel execution and data transfers), simple but extensible device selection mechanism and user-friendly error management. We compare two versions of a conceptual application example, one based on cf4ocl, the other developed directly with the OpenCL host API. Results show that the former is simpler to implement and offers more features, at the cost of an effectively negligible computational overhead. Additionally, the tools provided with cf4ocl allowed for a quick analysis on how to optimize the application.
Journal of open research software | 2016
Nuno Fachada; Vitor V. Lopes; Rui C. Martins; Agostinho C. Rosa
SimOutUtils is a suite of MATLAB/Octave functions for studying and analyzing time series-like output from stochastic simulation models. More specifically, SimOutUtils allows modelers to study and visualize simulation output dynamics, perform distributional analysis of output statistical summaries, as well as compare these summaries in order to assert the statistical equivalence of two or more model implementations. Additionally, the provided functions are able to produce publication quality figures and tables showcasing results from the specified simulation output studies.