Cookies Policy
The website need some cookies and similar means to function. If you permit us, we will use those means to collect data on your visits for aggregated statistics to improve our service. Find out More
Accept Reject
  • Menu
Publications

2022

API Generation for Multiparty Session Types, Revisited and Revised Using Scala 3

Authors
Cledou, G; Edixhoven, L; Jongmans, SS; Proença, J;

Publication
36th European Conference on Object-Oriented Programming, ECOOP 2022, June 6-10, 2022, Berlin, Germany.

Abstract
Construction and analysis of distributed systems is difficult. Multiparty session types (MPST) constitute a method to make it easier. The idea is to use type checking to statically prove deadlock freedom and protocol compliance of communicating processes. In practice, the premier approach to apply the MPST method in combination with mainstream programming languages has been based on API generation. In this paper (pearl), we revisit and revise this approach. Regarding our “revisitation”, using Scala 3, we present the existing API generation approach, which is based on deterministic finite automata (DFA), in terms of both the existing states-as-classes encoding of DFAs as APIs, and a new states-as-type-parameters encoding; the latter leverages match types in Scala 3. Regarding our “revision”, also using Scala 3, we present a new API generation approach that is based on sets of pomsets instead of DFAs; it crucially leverages match types, too. Our fresh perspective allows us to avoid two forms of combinatorial explosion resulting from implementing concurrent subprotocols in the DFA-based approach. We implement our approach in a new API generation tool. © Guillermina Cledou, Luc Edixhoven, Sung-Shik Jongmans, and Jos Proena; licensed under Creative Commons License CC-BY 4.0

2022

Glove Prototype for Feature Extraction Applied to Learning by Demonstration Purposes

Authors
Cerqueira, T; Ribeiro, FM; Pinto, VH; Lima, J; Goncalves, G;

Publication
APPLIED SCIENCES-BASEL

Abstract
This article focuses on a sensorial glove prototype capable of acquiring hand motion and estimating its pose. The presented solution features twelve inertial measurement units (IMUs) to track hand orientation. The sensors are attached to a glove to decrease the project cost. The system also focuses on sensor fusion algorithms for the IMUs and further implementations, presenting the algebraic quaternion algorithm (AQUA), used because of its modularity and intuitive implementation. An adaptation of a human hand model is proposed, explaining its advantages and its limitations. Considering that the calibration is a very important process in gyroscope performance, the online and offline calibration data was analyzed, pointing out its challenges and improvements. To better visualize the model and sensors a simulation was conducted in Unity.

2022

Development of a high-power multilayer PVDF acoustic projector for 40 to 80 kHz band

Authors
Silva, A; Hughes, A; Pozzatti, D; Zabel, F; Viegas, R; Martins, MS;

Publication
2022 OCEANS HAMPTON ROADS

Abstract
A piston type projector using the PVDF piezoelectric polymer was developed for operating in underwater environment, below 100 kHz. For those frequencies PZT piezoelectric ceramic is usually a preferable choice and PVDF is only considered for frequencies above a few hundreds of kHz. This paper will show that efficient underwater acoustic projectors for frequencies below 100 kHz can be implemented regarding an appropriate impedance adapter is being used. The developed project presents a calibrated transmitting voltage response (TVR) of approximately 166, 160 and 175 dB at 40, 50 and 75 kHz, respectively. The PVDF TVR values are compatible with the PZT projectors available on market with the advantage of having a larger bandwidth than most PZT projectors. To the authors knowledge this is the first time that a PVDF projector attain such characteristics. Although theoretically the PVDF projector bandwidth is larger than 40 to 80 kHz, in practice it was observed that only between those frequencies the project presents a stable operation for the transmission of long-term signals.

2022

Virtual Reality Video Game for Depression Awareness

Authors
Morim, F; Oliveira, E; Braga, C; Rodrigues, N;

Publication
2022 IEEE 10TH INTERNATIONAL CONFERENCE ON SERIOUS GAMES AND APPLICATIONS FOR HEALTH(SEGAH' 22)

Abstract
Depression is a mental disease that affects over 264 million people worldwide and is responsible for causing great suffering, work dysfunction, faulty education, family relationships and can lead to suicide. Depression stigma prevents over half of the people who suffer from major depression from seeking professional help. Stigma mostly results from a deficient understanding of the mental disease. Research indicates that first-hand experiences of the perceptions of an individual diagnosed with a mental disorder in a simulated virtual reality environment can increase empathy and positive attitudes towards the individual. Interactive VR experiences have been described as a human-computer interface that enables users to immerse themselves in a computer generated, multi-dimensional environment. This project aims at examining the impact of a VR-assisted experience on reducing stigma and increase empathy towards individuals with depression. Following a methodology based on well-established results from psychology about common depression misunderstandings, we present a VR experience that simulates some of the most common difficulties encountered by people diagnosed with depression.

2022

Online gamification devices as extensions of the educational printed book

Authors
Bidarra, José; Rocio, Vitor;

Publication
The Envisioning Report for Empowering Universities

Abstract
In recent years there have been several commercial products designated as "augmented books". These use gamification and augmented reality technologies to provide the reader with more layers of information, thereby fostering the use of the book in new ways. So, in this article we describe part of the research and outcomes of the Portuguese project CHIC – C3, aimed at designing and developing a platform for managing the production of digital content connected with printed books. Furthermore, we developed a model for the gamification of digital content based on the printed book, mainly aimed at educational purposes. A proof of concept for the model was built in the form of a companion platform, supported by the Moodle LMS, fully integrated with the main CHIC website. Readers were able to access the platform, engage in several content related games, and interact with other readers.

2022

Enhancing Transient Stability of Distribution Networks With Massive Proliferation of Converter-Interfaced Distributed Generators

Authors
Tajdinian, M; Jahromi, MZ; Hemmatpour, MH; Dehghanian, P; Shafie-khah, M; Catalao, JPS;

Publication
IEEE SYSTEMS JOURNAL

Abstract
High penetration of renewable energy sources and energy storage systems has considerably increased the flexibility in power distribution networks operation. However, employing converter-interfaced energy and storage sources may significantly reduce the mechanical inertia and as a result, the power grids may confront serious stability challenges during transient conditions. This article introduces a strategy for enhancing transient stability margin of active distribution networks with high penetration of electric vehicles (EVs). The proposed optimization strategy intends to control EVs contributions during transient stability conditions. The EVs contributions are controlled through a new index proposed based on the system's total corrected critical kinetic energy (TCCKE). The proposed procedure for TCCKE calculation is driven by a hybrid algorithm taking into account the equal area criterion and sensitivity analysis. The suggested procedure for TCCKE only depends on the during fault data and as a result, the proposed optimization strategy is useful to prevent transient instability in the case of first swing instability. The proposed optimization is applied and evaluated on the IEEE test systems. The results clearly demonstrate the applicability and efficacy during a multitude of fault and emergency conditions.

  • 557
  • 4135