33 resultados para Reactive programming Asynchronous stream ReactiveX RxJS RxPHP


Relevância:

20.00% 20.00%

Publicador:

Resumo:

Svavel förekommer i kol och olja och oxideras vid förbränning till svaveldioxid (SO2). Årligen utsläpps stora mängder svaveldioxid som åstadkommer sura regn, minskning av stratosfäriskt ozon och sjukdomar. Av dessa orsaker är det nödvändigt att minska utsläppen av svaveldioxid. Den teknologi som rör planering av reaktorer och processer för rökgasavsvavling (FGD) har utvecklats kraftigt och idag använder man olika typer av lösningar. De vanligaste alternativen för FGD är våtskrubber- och semitorra skrubbersystem (Spray Dry Scrubbers, SDS) och injektionsprocesser för absorbenter. SDS-processer har studerats bland annat av Ahlbeck [4] och Klingspor [5] och injektionsprocesser av Alvfors [6]. Kalksten, som i huvusak består av kalciumkarbonat, används i rökgasavsvavling på grund av sin förmåga att binda svavel i form av sulfatsalter. Den vanligaste rökgasavsvavlingsmetoden är våtskrubbning, där det sedimentära stenmaterialets upplösningshastighet är en av de faktorer som påverkar resultatet mest. Utvärdering av kalkstensreaktivitet är därför speciellt viktig vid planering och drift av anläggningar för rökgasavsvavling. Målsättningen med detta arbete var att modellera upplösningen av olika typers kalksten för att få en kvantitativ utvärdering av kvaliteten på de analyserade proverna. Därtill testades även karbonatbiprodukter från stålindustrin för att utvärdera möjligheter att använda andra råmaterial. Det transienta förloppet har analyserats, varvid upplösningshastigheten modellerades bl.a. i avseende på tid och pH. Under arbetets gång har antalet empiriska korrelationer minskats till fördel för fysikaliska modeller av diffusiva och konvektiva masstransportfenomen. En målsättning var att skapa en effektiv och snabb metod för att testa olika absorbenter för rökgasavsvavling under transienta förlopp. I arbetet användes PSD-analys, gjordes pH-mätningar och andra utvärderingar av de fysikaliska parametrar som ingår i beräkningarna. On-line mätningar för de icke-stationära variablerna tid och pH ger möjlighet att eliminera osäkerheter. Vissa modeller kan vara komplicerade. En modell för upplösningshastigheten med mer detaljerad utvärdering av parametrar och färre approximationer är därför nödvändig då man vill utvärdera reaktionshastigheten för fasta partiklar i sur miljö. Arbetet utfördes under fyra år och fem peer review-artiklar ingår i avhandlingen.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

Työn tarkoituksena oli suunnitella, ohjelmoida ja koekäyttää SMB-laitteisto (Simulated Moving Bed) hydrometallurgisiin erotuksiin. Simuloitu liikkuvapeti saadaan aikaan vaihtamalla sisään- ja ulostuloporttien paikkaa nestevirran suuntaan. Tällöin aikaansaadaan kiintoaineen vastavirtaus minkä johdosta erotustehokkuus kasvaa. Komponenttien retentiotaipumuseroista johtuen komponentit liikkuvat eri nopeuksilla kolonnijärjestelmässä. Enemmän pidättäytyvät komponentit liikkuvat nestevirtaa vastaan ja vähemmän pidättäytyvät komponentit nestevirran mukana. Hydrometallurgiassa vastavirtauksen käyttöä ei ole tieteellisissä julkaisuissa käsitelty laajalti ja saatavilla oleva informaatio onkin kaupallisten yritysten tuottamaa. Hydrometallurgiassa vastavirtausta käyttävissä ioninvaihtolaitteistoissa hyödynnetään irrallisia regenerointivyöhykkeitä. Venttiilijärjestelmän osalta päädyttiin ratkaisuun jossa käytetään yhtä kiertoventtiiliä kullekin virralle, minkä lisäksi kolonnien väleillä käytetään solenoidiventtiiliä. Tämä järjestelmä mahdollistaa yleisimpien SMB-menetelmien käytön mukaan lukien irralliset vyöhykkeet. Laitteiston ohjauksesta vastaa LabVIEW 2010:llä ohjelmoitu ohjelmisto, joka sisältää kaikkien tarvittavien laitteiden ohjausrutiinit. Se mahdollistaa venttiilien synkroniset ja epäsynkroniset vaihdot. Laitteiston puhdistusta varten on ohjelmistoon rakennettu oma rutiini venttiilejä varten. Pumppujen osalta ohjelmisto mahdollistaa vakiovirtauksen sekä lineaaristen ja porrasmuotoisten gradienttien käytön. Ongelmatilanteita varten ohjelmisto valvoo pumppujen ja venttiilien toimintaa ja pysäyttää laitteiston tarvittaessa. Koekäytön avulla pystyttiin todentamaan laitteiston toimivuus.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

In this thesis, simple methods have been sought to lower the teacher’s threshold to start to apply constructive alignment in instruction. From the phases of the instructional process, aspects that can be improved with little effort by the teacher have been identified. Teachers have been interviewed in order to find out what students actually learn in computer science courses. A quantitative analysis of the structured interviews showed that in addition to subject specific skills and knowledge, students learn many other skills that should be mentioned in the learning outcomes of the course. The students’ background, such as their prior knowledge, learning style and culture, affects how they learn in a course. A survey was conducted to map the learning styles of computer science students and to see if their cultural background affected their learning style. A statistical analysis of the data indicated that computer science students are different learners than engineering students in general and that there is a connection between the student’s culture and learning style. In this thesis, a simple self-assessment scale that is based on Bloom’s revised taxonomy has been developed. A statistical analysis of the test results indicates that in general the scale is quite reliable, but single students still slightly overestimate or under-estimate their knowledge levels. For students, being able to follow their own progress is motivating, and for a teacher, self-assessment results give information about how the class is proceeding and what the level of the students’ knowledge is.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

In March 2010, Chinese State Councillor, Dai Bingguo, in a private meeting with US Deputy Secretary of State, James Steinberg, allegedly referred to the South China Sea (SCS) as one of the country’s ‘core interests’, a term normally only used to refer to regions like Taiwan, Tibet and Xinjiang upon whose sovereignty Beijing will make no compromises. This alleged wording by Mr Dai caused a strong global reaction, with many countries around the world expressing a fear that China, on the back of its rise to the status of the world's second largest economic power, was now about to implement a more assertive foreign policy more in keeping with its new status of global superpower. As the use of the term ‘core interest’ took place in a private meeting and appears to have been subsequently leaked, it is impossible to prove what was said or meant, yet in 2011, with China and the US continuing to eye each other with suspicion, the adverse repercussions of people trying to deduce what was meant are undeniable. By analysing the views of experts and the evolution or otherwise of Chinese rhetoric and policy towards the SCS, this thesis will show how the alleged use of a term in a private meeting can have consequences that far exceed what was originally intended. It will also show that it is highly unlikely that China’s maritime policy is becoming more assertive as, at China's present stage of social and economic development, it simply cannot afford the ill will and adverse consequences that would result from an act of international aggression. It will show how easy it seems to be for a country like the US to project a misleading image of another country’s intentions, which can in turn serve partially to mask its own intentions. Finally, it will show that the China’s stance on the SCS is starting to be seen by the world as a litmus test for the assertiveness of overall Chinese foreign policy.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

The update of the Finnish legislation concerning waste was unavoidable, to comply with the European Union (EU) requirements defined in the EU-Directive on Waste. The new waste law updates were enacted into the Finnish legislation on the 11.03.2011 and targeted for applicability by the 11.03.2012. This thesis investigates the implications of the new amendments to the waste legislation from the perspective of green sand foundries. The investigations are conducted by comparing two of Componenta’s green sand foundries and evaluating their waste streams. Additionally, the impacts of legislation amendments are critiqued on their environmental and economic aspects. The study’s comparison of waste fractions at the two foundries reveals that sand is dominant in absolute tonnage and costs. The increments of waste taxes forces foundries to focus on waste management, recycling and disposing. The new legislation’s promotion of material efficiency, also guides foundries towards the prevention of waste. A potential preventive measure is to regenerate waste sand resulting to cost savings on both raw-materials and waste management. However, the lack of absolute targets for waste prevention or recycling rates discourages the interests towards creating or adopting new technologies and methods for the waste handling.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

Tillgången på traditionella biobränslen är begränsad och därför behöver man ta fram nya, tidigare outnyttjade biobränslen för att möta de uppställda CO2 emissionsmålen av EU och det ständigt ökande energibehovet. Under de senare åren har intresset riktats mot termisk energiutvinning ur olika restfraktioner och avfall. Vid produktion av fordonsbränsle ur biomassa är den fasta restprodukten ofta den största procesströmmen i produktionsanläggningen. En riktig hantering av restprodukterna skulle göra produktionen mera lönsam och mer ekologiskt hållbar. Ett alternativ är att genom förbränning producera elektricitet och/eller värme eftersom dessa restprodukter anses som CO2-neutrala. Målsättningen med den här avhandlingen var att studera förbränningsegenskaperna hos några fasta restprodukter som uppstår vid framställning av förnybara fordonsbränslen. De fyra undersökta materialen är rapskaka, palmkärnskaka, torkad drank och stabiliserat rötslam. I studien används ett stort urval av undersökningsmetoder, från laboratorieskala till fullskalig förbränning, för att identifiera de huvudsakliga utmaningarna förknippade med förbränning av restprodukterna i pannor med fluidiserad bäddteknik. Med hjälp av detaljerad bränslekarakterisering kunde restprodukterna konstateras vara en värdefull källa för värme- och elproduktion. Den kemiska sammansättningen av restprodukterna varierar stort jämfört med mera traditionellt använda biobränslen. En gemensam faktor för alla de studerade restprodukterna är en hög fosforhalt. På grund av de låga fosforkoncentrationerna i de traditionella biobränslena har grundämnet hittills inte ansetts spela någon större roll i askkemin. Experimenten visade nu att fosfor inte mera kan försummas då man studerar kemin i förbränningsprocesser, då allt flera fosforrika bränslen tränger in på energimarknaden.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

Atherosclerotic vascular disease is the leading cause of death in the Western world. Its main three manifestations are coronary heart disease, cerebrovascular disease, and peripheral arterial disease. Asymptomatic peripheral arterial disease is usually diagnosed using the ankle brachial index, and values ≤ 0.90 are used to determine the diagnosis. The classical risk factors of peripheral arterial disease, such as smoking and diabetes, are well known and early interventions are mandatory to improve the prognosis. What is not well known is the role of inflammation as a risk factor. Yet, a novel approach to cardiovascular diseases is the measurement of endothelial function. In this thesis, we studied the ankle-brachial index, C-reactive protein and endothelial function in a cardiovascular risk population. A total of 2856 subjects were invited to the study and 2085 (73%) responded. From these subjects, a cohort of 1756 risk persons was screened. We excluded the subjects with previously known cardiovascular disease or diabetes, because they were already under systematic follow-up. Out of the study subjects, 983 (56%) were women and 773 (44%) men. The ankle brachial index and high-sensitivity C-reactive protein were measured from 1047 subjects. Endothelial function was assessed by measuring reactive hyperemia pulse amplitude tonometry from 66 subjects with borderline peripheral arterial disease. In this study, smoking was a crucial risk factor for peripheral arterial disease. Subclinical peripheral arterial disease seems to be more common in hypertensive patients even without comorbidities. The measurement of the ankle brachial index is an efficient method to identify patients at an increased cardiovascular risk. High-sensitivity C-reactive protein did not correlate with the ankle brachial index or peripheral arterial disease. Instead, it correlated with measures of obesity. In a cardiovascular risk population with borderline peripheral arterial disease, nearly every fourth subject had endothelial dysfunction. This might point out a subgroup of individuals in need of more intensive treatment for their risk factors.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

Object-oriented programming is a widely adopted paradigm for desktop software development. This paradigm partitions software into separate entities, objects, which consist of data and related procedures used to modify and inspect it. The paradigm has evolved during the last few decades to emphasize decoupling between object implementations, via means such as explicit interface inheritance and event-based implicit invocation. Inter-process communication (IPC) technologies allow applications to interact with each other. This enables making software distributed across multiple processes, resulting in a modular architecture with benefits in resource sharing, robustness, code reuse and security. The support for object-oriented programming concepts varies between IPC systems. This thesis is focused on the D-Bus system, which has recently gained a lot of users, but is still scantily researched. D-Bus has support for asynchronous remote procedure calls with return values and a content-based publish/subscribe event delivery mechanism. In this thesis, several patterns for method invocation in D-Bus and similar systems are compared. The patterns that simulate synchronous local calls are shown to be dangerous. Later, we present a state-caching proxy construct, which avoids the complexity of properly asynchronous calls for object inspection. The proxy and certain supplementary constructs are presented conceptually as generic object-oriented design patterns. The e ect of these patterns on non-functional qualities of software, such as complexity, performance and power consumption, is reasoned about based on the properties of the D-Bus system. The use of the patterns reduces complexity, but maintains the other qualities at a good level. Finally, we present currently existing means of specifying D-Bus object interfaces for the purposes of code and documentation generation. The interface description language used by the Telepathy modular IM/VoIP framework is found to be an useful extension of the basic D-Bus introspection format.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

In this work mathematical programming models for structural and operational optimisation of energy systems are developed and applied to a selection of energy technology problems. The studied cases are taken from industrial processes and from large regional energy distribution systems. The models are based on Mixed Integer Linear Programming (MILP), Mixed Integer Non-Linear Programming (MINLP) and on a hybrid approach of a combination of Non-Linear Programming (NLP) and Genetic Algorithms (GA). The optimisation of the structure and operation of energy systems in urban regions is treated in the work. Firstly, distributed energy systems (DES) with different energy conversion units and annual variations of consumer heating and electricity demands are considered. Secondly, district cooling systems (DCS) with cooling demands for a large number of consumers are studied, with respect to a long term planning perspective regarding to given predictions of the consumer cooling demand development in a region. The work comprises also the development of applications for heat recovery systems (HRS), where paper machine dryer section HRS is taken as an illustrative example. The heat sources in these systems are moist air streams. Models are developed for different types of equipment price functions. The approach is based on partitioning of the overall temperature range of the system into a number of temperature intervals in order to take into account the strong nonlinearities due to condensation in the heat recovery exchangers. The influence of parameter variations on the solutions of heat recovery systems is analysed firstly by varying cost factors and secondly by varying process parameters. Point-optimal solutions by a fixed parameter approach are compared to robust solutions with given parameter variation ranges. In the work enhanced utilisation of excess heat in heat recovery systems with impingement drying, electricity generation with low grade excess heat and the use of absorption heat transformers to elevate a stream temperature above the excess heat temperature are also studied.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

Chronic inflammation is the underlying cause of many common disabling conditions such as rheumatoid arthritis (RA), multiple sclerosis, coeliac disease, type I diabetes and coronary artery disease. NOX2 complex derived reactive oxygen species (ROS) are known to regulate joint inflammation in rats and mice, and additionally recent genetic evidence associates phagocyte ROS and the development RA in humans. Ncf1mutated mice have lost the functionality of their NOX2 complex and thus have no phagocyte ROS production. These mice suffer from exacerbated arthritis. The immune suppressive effect of the NOX2 complex derived ROS is mediated by monocytes/macrophages that downregulate the activation of autoreactive T cells. The aim of this thesis was to study how ROS modulate immune responses in different arthritis models and in tumor development. Additionally, genome wide gene expression profiling was carried out to assess the global effects of NOX2 complex derived ROS. Firstly, these results confirmed the potent anti-inflammatory nature of phagocyte ROS in arthritis models that were driven by the adaptive immune system. Secondly, arthritis models with predominantly innate immunity induced pathophysiology were moderately enhanced by phagocyte, more specifically, neutrophil derived ROS. Thirdly, the ROS induced immune suppression mediated by the adaptive immune system allowed development of bigger implanted tumors, while phagocyte ROS production did not affect the development of spontaneously growing tumors. Lastly, genome wide gene expression analysis revealed that both humans and mice with abrogated phagocyte NOX2 complex ROS production had an enhanced type I interferon signature in blood, reflecting their hyperinflammatory immune status.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

Mobile technology has been employed in banking for already two decades. However, its significance this far has been modest. It is expected that the industry will change a lot in the future. Elements of this change include tightening of competition, considering customer’s individual and changing needs, becoming involved in customer’s life and being where customers are. The goal of this study is to explore these fields with regard to Finnish banking as well as investigate selected consumers’ views towards this kind of new service approach. It can be divided into three questions: • What kinds of mobile services does the Finnish banking industry currently offer for consumers and what expectations do experts and consumers have towards them? o What is consumers’ attitude towards a context-aware service approach in the banking industry and what are the suggested tools for it? o What factors define clients’ adoption intentions towards the new context-aware service approach? Which factors do they consider most important? In order to create the framework for the study, both Finnish and foreign scientific and professional literature considering evolution of the industry and innovation adoption has been used. The empirical part of the study consists of 11 interviews, including 6 expert interviews and 5 consumer interviews. The results show that the selected consumers reacted very positively to the suggested new service approach that considers them as a person and aims at simplifying their banking. The consumers appreciated especially solutions that simplified their everyday banking. Also proactive actions from a bank was considered important especially in everyday banking, as long as the customer was able to define the amount and way of contacts he received. According to the findings banks should aim at supporting their customers more than they do now. However, they also need to pay attention to not irritate their customers by excessive contacts. Banks should also open-mindedly introduce new technologies to their customers. Key words

Relevância:

20.00% 20.00%

Publicador:

Resumo:

Työn tavoitteena on sovittaa Qt opetussuunnitelmaan. Työ sisältää Qt:n lyhyen historian sekä katsauksen sen nykytilaan. Nykytilakatsaus sisältää kolme näkökulmaa: miten ja missä Qt:ta voidaan käyttää, sekä sen käyttötarkoitukset teollisuudessa ja opetuksessa. Työn tuloksena syntyy luentodemonstraatiota varten pieni ohjelma, joka on luotu C++:n ja Qt Designerin avulla ja käyttää olennaisia käyttöliittymäkirjaston olioita. Toisena tuotteena työssä syntyy luonnos Lappeenrannan Teknillisen Yliopiston ohjelmointikursseista, joissa Qt:ta voitaisiin käyttää avustamaan opiskelijoita näkemään, miten graafinen ohjelma luodaan sekä valmentaa heitä ymmärtämään viitekehyksien ja graafisten kirjastojen tuomat edut.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

With the shift towards many-core computer architectures, dataflow programming has been proposed as one potential solution for producing software that scales to a varying number of processor cores. Programming for parallel architectures is considered difficult as the current popular programming languages are inherently sequential and introducing parallelism is typically up to the programmer. Dataflow, however, is inherently parallel, describing an application as a directed graph, where nodes represent calculations and edges represent a data dependency in form of a queue. These queues are the only allowed communication between the nodes, making the dependencies between the nodes explicit and thereby also the parallelism. Once a node have the su cient inputs available, the node can, independently of any other node, perform calculations, consume inputs, and produce outputs. Data ow models have existed for several decades and have become popular for describing signal processing applications as the graph representation is a very natural representation within this eld. Digital lters are typically described with boxes and arrows also in textbooks. Data ow is also becoming more interesting in other domains, and in principle, any application working on an information stream ts the dataflow paradigm. Such applications are, among others, network protocols, cryptography, and multimedia applications. As an example, the MPEG group standardized a dataflow language called RVC-CAL to be use within reconfigurable video coding. Describing a video coder as a data ow network instead of with conventional programming languages, makes the coder more readable as it describes how the video dataflows through the different coding tools. While dataflow provides an intuitive representation for many applications, it also introduces some new problems that need to be solved in order for data ow to be more widely used. The explicit parallelism of a dataflow program is descriptive and enables an improved utilization of available processing units, however, the independent nodes also implies that some kind of scheduling is required. The need for efficient scheduling becomes even more evident when the number of nodes is larger than the number of processing units and several nodes are running concurrently on one processor core. There exist several data ow models of computation, with different trade-offs between expressiveness and analyzability. These vary from rather restricted but statically schedulable, with minimal scheduling overhead, to dynamic where each ring requires a ring rule to evaluated. The model used in this work, namely RVC-CAL, is a very expressive language, and in the general case it requires dynamic scheduling, however, the strong encapsulation of dataflow nodes enables analysis and the scheduling overhead can be reduced by using quasi-static, or piecewise static, scheduling techniques. The scheduling problem is concerned with nding the few scheduling decisions that must be run-time, while most decisions are pre-calculated. The result is then an, as small as possible, set of static schedules that are dynamically scheduled. To identify these dynamic decisions and to find the concrete schedules, this thesis shows how quasi-static scheduling can be represented as a model checking problem. This involves identifying the relevant information to generate a minimal but complete model to be used for model checking. The model must describe everything that may affect scheduling of the application while omitting everything else in order to avoid state space explosion. This kind of simplification is necessary to make the state space analysis feasible. For the model checker to nd the actual schedules, a set of scheduling strategies are de ned which are able to produce quasi-static schedulers for a wide range of applications. The results of this work show that actor composition with quasi-static scheduling can be used to transform data ow programs to t many different computer architecture with different type and number of cores. This in turn, enables dataflow to provide a more platform independent representation as one application can be fitted to a specific processor architecture without changing the actual program representation. Instead, the program representation is in the context of design space exploration optimized by the development tools to fit the target platform. This work focuses on representing the dataflow scheduling problem as a model checking problem and is implemented as part of a compiler infrastructure. The thesis also presents experimental results as evidence of the usefulness of the approach.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

One of the main challenges in Software Engineering is to cope with the transition from an industry based on software as a product to software as a service. The field of Software Engineering should provide the necessary methods and tools to develop and deploy new cost-efficient and scalable digital services. In this thesis, we focus on deployment platforms to ensure cost-efficient scalability of multi-tier web applications and on-demand video transcoding service for different types of load conditions. Infrastructure as a Service (IaaS) clouds provide Virtual Machines (VMs) under the pay-per-use business model. Dynamically provisioning VMs on demand allows service providers to cope with fluctuations on the number of service users. However, VM provisioning must be done carefully, because over-provisioning results in an increased operational cost, while underprovisioning leads to a subpar service. Therefore, our main focus in this thesis is on cost-efficient VM provisioning for multi-tier web applications and on-demand video transcoding. Moreover, to prevent provisioned VMs from becoming overloaded, we augment VM provisioning with an admission control mechanism. Similarly, to ensure efficient use of provisioned VMs, web applications on the under-utilized VMs are consolidated periodically. Thus, the main problem that we address is cost-efficient VM provisioning augmented with server consolidation and admission control on the provisioned VMs. We seek solutions for two types of applications: multi-tier web applications that follow the request-response paradigm and on-demand video transcoding that is based on video streams with soft realtime constraints. Our first contribution is a cost-efficient VM provisioning approach for multi-tier web applications. The proposed approach comprises two subapproaches: a reactive VM provisioning approach called ARVUE and a hybrid reactive-proactive VM provisioning approach called Cost-efficient Resource Allocation for Multiple web applications with Proactive scaling. Our second contribution is a prediction-based VM provisioning approach for on-demand video transcoding in the cloud. Moreover, to prevent virtualized servers from becoming overloaded, the proposed VM provisioning approaches are augmented with admission control approaches. Therefore, our third contribution is a session-based admission control approach for multi-tier web applications called adaptive Admission Control for Virtualized Application Servers. Similarly, the fourth contribution in this thesis is a stream-based admission control and scheduling approach for on-demand video transcoding called Stream-Based Admission Control and Scheduling. Our fifth contribution is a computation and storage trade-o strategy for cost-efficient video transcoding in cloud computing. Finally, the sixth and the last contribution is a web application consolidation approach, which uses Ant Colony System to minimize the under-utilization of the virtualized application servers.