{'fraction_non_alphanumeric': 0.024367108619126915, 'fraction_numerical': 0.0093800720895428, 'mean_word_length': 5.200758070840413, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Applying Bayesian belief networks (BBNs) with stakeholders to explore and codesign options for water resource interventions

Bayesian Belief networks (BBNs) are a useful tool to account for uncertainty and can be used to incorporate stakeholder understandings of how a system works. In this study, BBNs were applied to elicit and discuss local stakeholders’ concerns in conflicts over water resource planning in two cases in southern Thailand. One concerned the construction of a dam proposed by a top-down project. The other concerned a bottom-up participatory process at the catchment scale to assess the need for water resources interventions and explore perceptions on alternative design options. In the top-down project, the responses of participants during the elaboration of the BBN showed that potentially affected stakeholders were particularly concerned about limited consultation and lack of shared benefits, which led them to oppose the dam project. In the bottom-up project, local stakeholders expected and agreed with the benefits of a dam, proposing to locate the dam upstream of community land. The BBN method did not facilitate dialogue in the top-down dam-building project because no alternative design options could be discussed and potentially affected stakeholders did not want to discuss compensation because of mistrust and differences in valuation of effects. In the bottom-up project, the BBN method did facilitate dialogue on alternative intervention options and their effects. The replicable BBN framework can support policy-makers to better understand water conflict situations in different stages of planning. Its application supports exploring a wider repertoire of options, enlarging the scope for more inclusive and sustainable solutions to water resource conflicts.


Introduction
Water resources development may cause conflicts as stakeholders do not have compatible interests and may not easily reach consensus. To avoid the paralysis of the planning process, stakeholders' interests need to be carefully considered. To find solutions, there is a need for stakeholders to find common ground in relation to problems and solutions in the early planning stages (Reed 2008). This way, alternatives can be proposed in a participatory process, empowering stakeholders who have different backgrounds, interests, knowledge, and perspectives to share ideas and negotiate better outcomes. Empowerment requires more attention to be paid to decision-making in the planning process (Julian et al. 1997). For example, to safeguard that proposed interventions support equity, sustainability and efficiency, relevant evaluation criteria should be included (Bromley et al. 2005). Outcomes for stakeholders further depend on how they are included in the decision-making process, e.g. whether they are only informed, or consulted and have had the chance to codesign interventions and make decisions (Singto et al. 2018).
Dams are often presented to stakeholders as interventions that will provide benefits (e.g. more irrigated farmland, more water storage capacity supporting irrigation and flooding mitigation, and more secure water supply for urbanization). Nevertheless negative environmental and societal impacts cannot be neglected, and are commonly described in Environmental Impact Assessment (EIA) reports. However, several studies find that stakeholders whose land is inundated by newly constructed reservoirs lose farm income due to poor livelihood assets after resettlement on new unproductive land (e.g. Bui et al. 2013;Devitt and Hitchcock 2010;Duarte-Abadía et al. 2015). Access to suitable agricultural land is crucial to set up a new livelihood after resettlement (Sayatham and Suhardiman 2015). Moreover, dams might negatively affect farm income because the social capital needed to adapt to the new situation is often lacking in resettlement contexts (Tilt and Gerkey 2016). These examples illustrate the concerns of affected stakeholders, which often leads to disagreement on positive and negative dam impacts. When concerns are adequately aired, solutions can be found. For example, Singer et al. (2014) mention that benefit sharing could be promoted, allowing project beneficiaries to reach out to affected stakeholder and mediate the negative impacts on their livelihoods.
In conflicts, affected stakeholders often claim that participatory tools are biased and limit their engagement in the dam planning process (Singto et al. 2018). Elicitation methods and discussions with affected people need to systematically improve to engage affected stakeholders (Van Asselt and Rijkens-Klomp 2002). To enable solutions in deadlock situations, policy-makers should hence carefully design more participatory processes. This premise underpins Participatory Integrated Assessment (PIA) which entails the systematic measurement of participatory processes for improving project planning (Ridder and Pahl-Wostl 2005). Modelling may be one method that can be deployed in a PIA to further engagement, manage conflicts and avoid negative impacts of proposed policies (e.g. Mahato and Ogunlana 2011), as ex-ante models can provide a safe environment for discussions about impact. Various models have been used with stakeholders to explore the likelihood of impacts and so support decision-making (Lynam et al. 2007). Bayesian Belief Networks (BBNs) are one such model that has been used in co-designing and planning of interventions (Bromley et al. 2005) but has so far rarely been applied in practice for dam planning. This paper poses the question: could Bayesian Belief Networks (BBNs) be a useful tool to facilitate participatory processes in conflict situations in dam planning projects ?
BBNs are probabilistic models that represent a set of variables and their conditional dependencies. The relation between directly related variables is described in Conditional Probability Tables (CPTs). BBNs can combine socio-economic and environmental variables related to water into a framework and engage stakeholders in planning (Carmona et al. 2011).
Applying BBNs can enable estimation of possible future outcomes based on many variables, and information about the relations between variables (in the CPTs) can be updated (Castelletti and Soncini-Sessa 2007). BBNs can help estimate outcomes before alternatives are chosen and implemented (Levontin et al. 2011). Moreover, BBNs can manage qualitative data which other models cannot do. In addition, BBNs permit use of incomplete data variables in the network (Bouejla et al. 2014). Uncertainty of impacts from alternatives can be addressed in BBNs to support the choice of agreed solutions (Phan et al. 2016). Bertone et al. (2016) used BBNs to deal with incomplete data and variables by involving experts and linking qualitative and quantitative data together in the participatory study of water quality risk assessment of reservoirs, investigating the sensitivity of effects related to alternative interventions options of interventions. Likewise, Carmona et al. (2013) used BBNs as a participatory modelling tool in water management allowing policy-makers to better understand local perspectives and be better able to consider the most acceptable options. BBN tools can make it easier to reconcile the various valuations and knowledge of participants in a more hypothetical way, which relieves some of the problems of dealing with sensitive issues.
The above experiences show significant potential for applying BBNs in the context of water resources planning, and in particular to deploy BBNs as a tool to engage stakeholders in decision making in conflict situations. However, so far, BBNs have been developed as case-specific tools without considering whether models can be designed so that they can be adapted to explore and co-design options for water resource interventions in multiple places. Therefore, this paper aims to a) develop a general BBN framework that can be used in a participatory planning process with stakeholders for planning water resource development projects; b) apply the framework to two distinct cases to test the adaptability of the general framework and document its adaptation process in participatory sessions with local stakeholders; and c) assess, based on stakeholder opinion and expert knowledge, the BBNs and their usefulness in the planning process.

Bayesian belief networks for dam planning projects
BBNs are increasingly applied to support participatory decision making under uncertainty (Levontin et al. 2011), and are also becoming popular in water resources planning (Phan et al. 2016). BBNs can also be used for creating a framework to predict probability under uncertain situations (Roozbahani et al. 2018). One area of recent BBN application concerns decision-making, e.g. considering variables affecting stakeholder behaviour in an irrigation system (McKee 2015). BBNs are also applied to find agreeable solutions for water conflicts among stakeholders; for example, by managing trade-offs between farming and environment to meet the EU Water Framework Directive targets in Spain (Zorrilla et al. 2010) and assessing the effects of a water pricing policy in northwest China (Mamitimin et al. 2015).
BBNs can be used when experts and stakeholders cooperate in developing graphical networks (Phan et al. 2016). Such networks can be used as a decision-support tool, facilitating intervention decisions based on enhanced understanding of the links between several variables (Hoshino et al. 2016). BBNs can also assess the impacts of proposed interventions as perceived by different stakeholders, which is particularly relevant in cases of conflicts over natural resources (Xue et al. 2017). In the case of uncertain or disputed impacts, tools need to be easily understood (and operated) by stakeholders, and allow them to include their knowledge and valuation in the assessment. This means that it is imperative to combine various sources of knowledge and not only allow numeric data (Phan et al. 2016). Stakeholder knowledge can, for example, inform the design of interventions for reducing uncertain expected negative impacts (Baillergeau and Duyvendak 2016).
BBNs are mostly developed using a software program to understand key issues affecting the performance of a system that may be represented by a mix of quantitative and qualitative variables (Lynam et al. 2007). A graphical network of variables relates causes and effects (parent and child variables) and highlights their relationships by arrows linking between them. BBNs accommodate the integration of variables with different scales (Ticehurst et al. 2007). In a BBN diagram, data for each variable is given in a CPT (Marcot et al. 2006). The relationships between variables defines the conditional probability in child variables (Levontin et al. 2011). When there is a lack of data, expert and stakeholder judgments can inform probability assessment for CPTs (Pollino et al. 2007). As such BBNs have the ability to integrate information from stakeholders as well as experts (Farmani et al. 2009;Keshtkar et al. 2013).
In developing BBNs with stakeholders, Bromley et al. (2005) used stakeholder consultation to construct preliminary networks incorporating stakeholder concerns through linking variables and determining states. These BBNs were then completed by collecting data for the CPTs. A CPT should have the fewest number of possible states to support ease of understanding (Cain 2001;Mamitimin et al. 2015), particularly when eliciting expert knowledge (Chen and Pollino, 2012). To facilitate populating the CPTs with stakeholder-elicited probabilities, Bromley et al. (2005) use single numbers as indicative percentages. Editing information in the CPTs is straightforward and helps users raise questions and consider problems and promotes stakeholder insight (Castelletti and Soncini-Sessa, 2007). Expert knowledge and field data reconciliation is a widespread method in constructing BBNs and populating CPTs, in which experts fill in information missing in field data (Mkrtchyan et al. 2015). Expert and stakeholder elicitation can be used to fill in CPTs when data is limited and can be updated with quantitative or qualitative data for higher model accuracy as soon as more data becomes available (Phan et al. 2016).
Parameterization methods described by Pollino et al. (2007) can serve as guidelines to develop BBNs using qualitative and quantitative data and deal with data and knowledge gaps. In constructing a BBN, it is helpful to identify the endpoint of the model first. Subsequently, variables affecting the endpoint should be identified, and arrows should connect these variables to the endpoint in the network to study the impact of the variables' change. A further hierarchy of variables indirectly conditioning the value of the endpoint can be constructed, which should include interventions and procedural decisions as management parameters. Involvement of experts and stakeholders in workshops can help in parameterizing the CPTs. A BBN framework can be developed as a starting template to use in workshops, allowing stakeholders to discuss and define variables and states on each variable. The probability derived from stakeholder perspectives can be elicited by asking "What if" questions.
The BBN should ideally be validated with data from observations and/or measurements, but when empirical information is limited, sensitivity analysis can be used to analyse the variance distribution of critical variables. For example, GeNIe BBN software has been used to analyse the sensitivity of variables influencing the reliability of drilling for kick control operation (Sule et al. 2018). In addition, discussion with experts helps to identify the robustness of variables and to consider the reasonableness of the BBN (Hoshino et al. 2016;Flores et al. 2011).

BBN framework
A BBN framework was developed following the steps of Bromley et al. (2005) for designing networks through stakeholder consultation. Water-related issues were identified from secondary data and related literature and were used to establish a preliminary framework of dam planning, notably resulting in interconnected variables describing both positive and negative impacts in economic, social and environmental terms. The secondary data was taken from manuals on water resources development in Thailand. Reviews of EIA reports were performed to grasp the main criteria and data shaping positive impacts (e.g. rainfall, water storage capacity, benefits to stakeholders such as more farm income), negative impacts (e.g. deforestation, displacement of stakeholders), and mitigation measures (e.g. resettlement, compensation).
We also reviewed the concerns of affected stakeholders of dam planning in Thailand (Swain 2004), Laos (Sayatham and Suhardiman 2015), and Vietnam (Bui et al. 2013). Losing farm income is one of the crucial concerns causing conflicts in dam planning.
The preliminary framework starts with setting core contexts and defines the level of acceptance of affected stakeholders as the endpoint of negative impacts and enhanced farm income as the endpoint of beneficial outcomes. This framework connects main processes and brings in a significant number of variables from government and local stakeholders to be taken into consideration. The core government agency tasked with water resources development in Thailand is the Royal Irrigation Department (RID). The conceptualization of the generic BBN framework was presented in a meeting on 2-05-2017 to four RID officials responsible for the two studied cases to discuss and co-determine water problems, to outline the preliminary framework, and identify critical variables. The preliminary BBN framework formed the basis for workshops in both the top-down and bottom-up case studies.

Applying the BBN framework in the case studies
The study was designed to understand the affected stakeholders' perspectives in conflict situations. Therefore, methods of stakeholder consultation outlined by Bromley et al. (2005) and parameterization by Pollino et al. (2007) were applied in the two case studies in Nakhon Si Thammarat province, Southern Thailand ( Fig. 1). One case, Wang Hip, is a top-down project, where the government has set a plan to construct a medium-scale dam to supply more water to increase irrigated farmland, to produce tap water and reduce flooding in Thung Song municipality. Another case, Klong Klai, demonstrates a bottom-up approach, where the government has initiated a number of participatory meetings in search of agreed interventions to supply water for an increasing demand and to mitigate flooding, in which representatives of different villages discuss the options.
To adapt the general BBN framework to the local context, local stakeholder engagement was sought in upstream areas. Two workshops for each case were arranged in June 2017 to elicit and define the variables, their potential states, and to populate the CPTs with probabilities. "What if" questions, for example: "What are your concerns if a dam is built in the upstream area?" were asked for this purpose and, where relevant, variables were added for specific issues/concerns. Each workshop was held with ten selected participants to avoid discussions becoming excessively lengthy and repetitive. The first author acted as the workshop moderator together with a co-mediator, and four local students acted as support staff.
At the first meeting, the mediators outlined the workshop objectives and provided a basic description of BBNs to the participants. They then defined variables by discussing the preliminary framework, variables, and links. Flipcharts and post-it notes were distributed to the participants, and they were asked to write down their water problems and expectations with regard to benefits from interventions. Next, participants were asked to identify possible interventions such as dams and weirs, followed by the negative impacts that could result from those interventions-guided by "what if" questions. Hereafter, the staff collected and classified the post-it notes as groups of variables in the BBN. Subsequently, variables were grouped by economic, social, and environmental issues by the mediators. Participants were asked to focus on the negative impacts and tasked with agreeing on impact mitigation options. Following through cause and effect chains, the need for additional links between variables was considered. Questions included "Do you agree with the variables and links?", "Do you agree if variables are grouped together?", "Do you agree if this variable is added to connect those variables in terms of causes and effects?", "Do you agree to remove this variable because it is off topic?", or "Do you agree to include a link to connect these variables?". Finally, the mediators closed the first workshop by presenting a network with variables and links between them as the result of the day's deliberations. After the first meeting, the network was reviewed to align it with the general BBN framework, and some variables and links were edited. Moreover, laws and regulations for project planning were also added to the network.
The second workshop in both locations was mostly focused on understanding the CPTs for each variable. The mediators stimulated participants to discuss states, and to populate the CPTs with probabilities. To kick off the second meeting, the mediators reminded the participants of the results of the first meeting, explained what edits were made to the network, and asked for acceptance. Then the mediators asked the participants to qualify the states of every variable in simple terms, e.g. low, medium, high, or alternatively as a binary yes or no. Flipcharts and post-it notes were used as the main tools to populate the CPTs. The participants were questioned about the likelihood of events, for example, what is the possibility that a child variable will be in a particular state if the parent variables are in particular states. Through discussion, the participants reached agreement on the probability of each state. Accordingly, the probabilities of states of the child variables were established, cumulatively adding up to 100% for each child variable. The states of root variables (variables with no further parents) were populated with equal probabilities. The mediators then summarized the results and finished the session. At the end of the workshops, the mediators asked the participants to express the usefulness of the BBN workshops.

BBN software, sensitivity analysis and application for policy-making
The data from the two case studies were used to create BBNs using GeNIe 2.1 Bayesian software. Each variable was constructed from the start (the key water-related problems, drought and flooding, were identified from RID reports and literature, and reaffirmed in a meeting with RID officers and during the workshops with affected communities) to the alternative options for interventions, and to the end variables (more income and local acceptance), followed by inserting links between variables. The probability of impacts of a dam were computed based on local stakeholders' perspectives and concerns. We followed the manual of GeNIe Modeler (BayesFusion 2017) to run sensitivity analysis of the end variables (i.e. more income and local acceptance). We used the software to produce Tornado plots to assess how changes in influential variables effected the endpoint variable local acceptance for the case that a decision to build a dam has been made. This allowed us to verify the most important entry points for raising acceptance by affected stakeholders.
We paid particular attention to the analysis of the negative impacts of the two case studies on affected stakeholders to see if the differences in variables affected acceptance. Apart from the sensitivity analysis, the general framework and the case study results were presented to experts during September and November 2017 to understand beneficiary perspectives. In the top-down case, the BBNs were discussed during interviews with the mayor of the municipality, the deputy president of the Thung Song sub-district and the sub-district's headman as representatives of beneficiaries and local politicians, and an environmentalist who had gained the trust of affected residents and opposed the dam project. In the bottom-up case, we interviewed the president of the Krung Ching sub-district to discuss the variables and links in the BBN network.

BBN framework
The developed BBN framework (Fig. 2) explains several features of the variables and their relations, starting from the initiatives and following through a participatory planning process which takes stakeholders' interests and concerns regarding interventions into consideration. The outcome variables are the benefits (linked to objectives) expected from the interventions, as well as the level of acceptance by affected stakeholders experiencing negative impacts from the interventions ( Table 1).

Adaptation of the BBN framework in the case studies
The key variables from the BBN framework are applied in two cases in Wang Hip and Klong Klai ( Table 2).

Adaptation of the BBN framework in Wang Hip
The Wang Hip project was proposed by the government in 1990, and after a very long EIA study it was approved in 2016. The local governments at provincial, district and sub-district levels agreed with the project moderately but did not actively promote it.
When we asked the participants to identify intervention nodes for drought problems, they proposed better water management and maintenance of existing weirs. No one mentioned the dam. But the proposed dam intervention node was raised by the facilitator to be considered and the participants agreed for the dam to be included as one of the intervention nodes so as to discuss their concerns that the dam was likely to have low influence on water problems. When presented with the BBN framework, some affected stakeholders claimed that they were not aware of some of the activities in the 'participation variable' (IM3). One of the participants stated that "the dam intervention would not have been proposed if we had been involved in the project in the early stages" (pers. comm. 13-6-2017). They provided several reasons why the dam should not have been proposed for Wang Hip, including misleading objectives. The dam (I3) was proposed as an intervention to respond to downstream water problems (P2 and P3). The participants did not believe in the links between the dam intervention and its objective variables and provided low probability to all objective variables (O2 and O3). In the 'compensation variable' (IM4), the affected stakeholders mentioned that "a higher compensation rate would not contribute significantly to our acceptance" (pers. comm. 17-6-2017), which contributed to the low probability of acceptance in their 'acceptance variable' (O4). The government pays compensation at the official land purchase rate (C4) monitored by the Land Department, which is significantly lower than market price. Moreover, official compensation rates for crops on the land are low, as rates do not consider crop yield in the long-term. Given the dominance of tree crops (rubber, durian) in the area, long lead in times  before new plantations become fully productive are a major concern to farmers.

Sensitivity analysis for Wang Hip
The benefits of intervention are shown in Fig. 3, where the farm income variable is set as a target variable. Sensitivity analysis was performed in GeNIe to find the variables that most influence farm income. The darker red variables show highest impact on the target variable. The paler shades of red show variables with lower influence on the target variable. We found that the amount of rainfall affects the uncertainty of farm income the most. The second highest impacts are exercised by the variables 1) drought, 2) water storage and 3) irrigation water. Among these factors, rainfall is not controllable, but the rest can be partially managed by interventions or policies.
To analyse the negative impacts we set acceptance of the potentially affected villagers as the target variable (Fig. 4). The sensitivity analysis indicates that the dam construction variable and dam building policy are the most influential variables. The second most influential factor is community rights, a variable characterising the power of local stakeholders over decision-making in government projects in their area, and the third is participation in planning. This means that if the dam is constructed, it decreases the acceptance of affected households. However, paying attention to the rights of local communities and engaging affected stakeholders in the participation process before making a decision can enhance the acceptance level. Pink variables represent the variables with less influence on acceptance, which are the variables related to compensation. The variables show that compensation can only result in a slight change in acceptance by affected stakeholders.
The sensitivity analysis (Fig. 5) shows that the affected stakeholders' acceptance is most sensitive to the decision to build the dam. This leads to uncertainty about farm income when they have to move; in particular, they fear the new land will not be productive enough to grow profitable crops. However, if the dam is definitely built, strengthening the combination of 'new farm income', 'new farm land', and 'crop price' will render acceptance less sensitive.

Adaptations of the BBN framework in Klong Klai
The Klong Klai case describes a bottom-up water resources development approach at the river basin level. The initiative was framed by the villagers asking for some interventions. Participatory meetings at sub-district and village levels were arranged. At first, conflict was severe, but after two years of participation meetings conflict declined slightly. Stakeholders' concerns focused on the dam site location, community livelihoods, and conflict among stakeholders.
Droughts and floods were identified as the main problems and were defined as starting nodes. Then we asked  participants to explain their expectations if those problems were solved; the answers pointed to increased farm income, which was set as an end node of the benefit nodes. We then asked participants to think about possible interventions to put nodes in between the problem and expectation nodes. The participants identified bamboo weirs (I1) which were built in a sub-district nearby by the community and local networks. Better water management and maintenance of existing weirs were proposed next, followed by a water gate (I2) and finally a dam (I3) was mentioned by a participant. Seawater intrusion mitigation (O1) was added as one of the objectives or benefits in the BBN, but the main aim remained to increase water storage capacity for enabling the cultivation of higher-yielding crops (C1). Local stakeholders preferred to select the dam location. So the 'dam site' variable (IM6) was added in the workshops. The stakeholders showed uncertainty concerning livelihood options and concern that relationships within the community may be changed. The sense of community and concerns over the quality of farmland meant that they were not willing to relocate. The local stakeholders felt uncomfortable discussing compensation, saying that compensation should cover total farm income from their crops. In their opinion, the compensation rate may not be high enough to sustain their life in the long run or not enough to settle on new farmland.

Sensitivity analysis for Klong Klai
A sensitivity analysis was performed using the GeNIe software to investigate the variables with the greatest impact on the farm income of beneficiaries and affected stakeholders' uncertainty concerns. As shown in Fig. 6, when we set farm income as the target variable, the different shades of red show that rainfall, water reservoir, and water storage are the variables that most influence farm income. The second most important variables comprise the dam policy, drought for crops, and seawater intrusion. These variables are similar to the Wang Hip case, except seawater intrusion.
The sensitivity analysis of variables determining negative impacts on affected stakeholders shows that dam construction, government approval, and the proposed intervention by the community have the largest effect on the affected stakeholders' acceptance (Fig. 7). The next most influential variable is the affected stakeholders' participation in the planning process.
To analyse the sensitivity in the Klong Klai case, we used Tornado analysis (Fig. 8), assuming the dam was selected to be the only intervention in the basin, to investigate the impacts on affected stakeholders' acceptance. We found that if we did not determine if the dam has to be built or not, the most influential variable was government approval to construct the dam (Government policy = approved). We also Fig. 6 The BBN and key variables for farm income benefits in Klong Klai simulated the BBN sensitivity to other factors in the planning process. A combination of the variables 'dam site' near the forest, local stakeholders can propose interventions, and the dam is built (dam site option = near forest; community's propose = proposed; dam = built) appears as the most sensitive (Fig. 8). This result means that if the government allows the community to propose interventions such as a dam, and the dam site is far from the residential area, the local stakeholders will have a higher level of acceptance.

Wang Hip
From the stakeholders' perspective, there is only limited probability of reaching the objectives of mitigating water shortage and floods, and improving beneficiary's income (Fig. 9). The CPTs demonstrate local concerns about the uncertainties of resettlement, compensation rates, and new farmland. The different practices of participation cannot raise the level of acceptance if the decision is made to build a dam (13% in a situation where the dam is constructed vs 100% without the dam). This shows explicitly that local stakeholders' acceptance may not easily be changed after the government decides to build the dam. Moreover, compensation to support the affected stakeholder's income may not substantially raise the stakeholders' acceptance level (23% vs 7%). Affected stakeholders also do not perceive the dam to bring great benefits to beneficiaries (55% with dam vs 51% without) which means that they do not agree with the proposed dam benefits.
The RID officials agreed with the general BBN framework and the affected stakeholders' variables. In addition, the sensitivity analysis was understandable. However, the District governor argued that "more capacity for water storage will help to regulate the water balance of highly variable intra-annual rainfall" (pers. comm. 23-11-2017).
Although it was challenging to discuss the compensation variable in the workshop, the RID engineer commented that it could be considered within the framework. He provided the response that "The process of negotiation about compensation is being implemented but legal constraints may obstruct compensation, and it is difficult to make the affected stakeholders satisfied" (pers. comm. 14-11-2017).

Klong Klai
The intervention of building a dam (Fig. 10) generates profoundly negative impacts on the local community and Fig. 7 The BBN and key variables for acceptance of local stakeholders in Klong Klai on forests, more significant than the other interventions. The local stakeholders' key concern is where to locate the dam. Stakeholder consultation during the early stages of the planning process enhanced acceptance more than restricting participation to only informing stakeholders (28% vs 18%). Constructing the dam deeper in the forest will satisfy the villagers more than constructing the dam near the village (stakeholders' acceptance 31% vs 15%). If compensation can elevate their farm income above their current income, this will bring more acceptance by affected stakeholders (42% vs 15%).
We also presented the Klong Klai BBN results to RID officials on 18-9-2017. From the RID's environmental specialist's perspective, locating the dam in the forest raises the  "This question needs to be studied more in-depth in the next step, but it is good to let the local stakeholders propose the ideas, then we can negotiate" (pers.com 29-11-2017).

The use of BBNs in building systems knowledge
The affected communities in Wang Hip saw that the BBN could foster the sustainability of development projects by highlighting critical issues to the government. The participants of the BBN workshops learned about factors for decision-making in water resource development from the variables and their links by discussing the probabilities between parent and child variables. The BBN provided a better understanding of the interaction among variables in the system. They agreed with the government attempting to solve water problems, but felt the proposed dam would not be a suitable solution in this area because water shortages and flooding were not critical. Accordingly, the participants focused on the suboptimal objectives of the projects. The dam would negatively affect the forest, the local economy and houses. There would be a higher probability that the villagers would agree with the dam if the government could solve these negative impacts, but they believed that the government could not solve all of the negative impacts. The BBN workshops facilitated participants to put forward their concerns about the impacts of the dam on their livelihoods and helped them to define issues about which the government would need to negotiate. The process helped participants in preparing more concrete arguments to deal with the government. A participant in Wang Hip mentioned at the end of the second workshop "The workshops made us see a high possibility that the government cannot solve our problems and how we should argue to the government with good reasons and block the government from running the project". However, the participants also shared the concern that if the government uses a BBN in project planning for assessing the probability of acceptance, they may claim that local stakeholders agree with the dam project.
Developing the BBN allowed the villagers to share their perspectives. However, many villagers that are very critical of the dam plan did not participate in the BBN workshops. A participant in Klong Klai asserted "We enjoyed participating in the workshops even though we've been asked by some villagers whether we are being used by the government as a tool to build the dam". Another participant articulated "It's good to come to ask the villagers' opinions and what we want, if there will be a change in the area". However, the local stakeholders would not agree with the dam if they could not share in the benefits.

Potential role of using BBNs with local stakeholders for water resources planning
BBNs can be applied in top-down and bottom-up planning processes, as BBNs can simulate outcomes from various (conflicting) angles and interests (Henriksen et al. 2007;Henriksen and Barlebo 2008). BBNs offer opportunities to define key variables and their relations taking into account the knowledge, values and interests of local stakeholders. The co-creation of one unique system of variables and their relationships enabled the participants of the workshops we held to share their knowledge and discuss their understandings of the relations between variables. Moreover, the cocreated BBN was used to discuss and evaluate the estimated impacts of different alternative interventions among the participants. Although affected stakeholders insisted on their opinions, such as not wanting a dam built, the process did catalyse their thinking about other interventions at a smaller scale such as using better water management and existing infrastructures, when the participants were asked to build intervention nodes to link between problem and expectation nodes. These suggestions may contribute to finding better solutions in a severe deadlock situation, where policymakers may see limited scope to solve water problems. Unlike Landuyt et al. (2013), who claimed that BBNs are increasingly applied in ecosystem analysis, BBNs have barely been applied for dam planning. Our experiences show that in a conflict situation, the discussion between government planners and local stakeholders on the impacts of different intervention options by means of a BBN can support policymakers in project planning. Lynam et al. (2007) argue that BBNs outperform other models in engaging with stakeholders because of the visual way in which variables can present likelihood of impacts. This is consistent with the argument of Carmona et al. (2013) that developing BBNs and the development of CPTs with stakeholders can help to identify possible interventions and enables stakeholders to voice their perception of the risks, challenges, negative impacts, costs and benefits of each of the proposed interventions. However, local stakeholders initially struggled to understand the probability assessment, and it took time to explain and elicit the probability for each variable, as was also reported by Henriksen et al. (2007) in a BBN study on groundwater planning.

Social dynamics in developing BBNs with local stakeholders
This study focused on promoting understanding of the system and building trust among participants. A dam brings conflicts to the community because some agree while others do not. As a result, some villagers who agreed with the dam did not share their opinions to avoid arguing with neighbours. The affected stakeholders were the most crucial stakeholders, whose interests, perceptions and arguments need to be understood by policy-makers (Grimble and Wellard 1997). Prioritization of their perspectives, knowledge, values and interests may reduce conflicts during project implementation (Bal et al. 2013).
Stakeholders show distinctive perspectives on what are positive and negative impacts (Tilt and Gerkey 2016). For example, some of the potentially affected residents were afraid of living far away from their relatives while workshop participants that lived more downstream agreed with building the dam for better water management. In both top-down and bottom-up approaches, the main variables affecting the stakeholders' concerns were resettlement and insufficient compensation, which is similar to results of other dam impact studies (Bui et al. 2013;Sayatham and Suhardiman 2015). When confronted with resettlement, potentially affected stakeholders raised issues of ecological problems as key reasons for opposition against dam projects.
Comparison of the BBN variables in the case studies shows that the top-down and bottom-up processes led to different variable selections. In the bottom-up approach, the assessment of water resources was more exploratory, and as a consequence there was a larger variety of objectives and of intervention options being assessed. However, as the stakeholders consulted were village representatives, they focused on issues and interventions that were of interest from a local stakeholder perspective, and did not consider other demands for water for e.g. industrial development. On the other hand, the top-down approach led to a narrow assessment of objectives in line with a predefined planned intervention. This left little room to consider alternative interventions and other impacts. While Bromley et al. (2005) state that BBN can combine all variables related to equity, sustainability, and efficiency, it is important to notice that in both cases presented here, some sensitive variables were left out of the BBNs i.e. displacement and compensation. In the bottom-up approach, government actors avoided talking about potential levels of compensation to prevent creating a strong opposition in the early planning period. Similarly, local stakeholders did not raise the subject of environmental issues. While they discussed that moving the dam location upstream would solve the social impacts for affected stakeholders, they did not consider that this location in the protected forest area could have serious environmental implications. The EIA may not be approved by the government departments that are responsible for forest area protection for water sources and wildlife habitats. In the top-down case, policymakers initially focused more on economic development benefits for downstream stakeholders and paid less attention to upstream stakeholders affected by the dam. Reed (2008) suggests that all important issues need to be considered from the beginning. In our cases, characterised by strong conflict, sensitive issues such as a dam intervention were not raised by the participants. Although Lynam et al. (2007) caution that facilitators should not disrupt unexpected results, we followed Reed's (2008) advice and raised the issue of the dam so that it could be discussed in this participatory platform. By creating BBNs, these sensitive variables can be put in the network and linked to other related variables so that all important impacts of interventions are addressed. It is hence important to verify that such sensitive variables are not overlooked.
Sensitivity analysis can test the robustness of the outcomes to the state of related variables in a BBN, provided that a single target node is investigated. The acceptance by local stakeholders was set as the target node for the sensitivity analysis in our cases. The Tornado plots resulting from Page 15 of 17 23 the sensitivity analysis contributed to developing interventions and policies for mitigating conflicts in dam planning. This correspond Kjaerulff and van der Gaag (2000) and Sule et al. (2018) who found that the BBN sensitivity analysis was of practical use to understand how a single target outcome was influenced by various variables and hence helped to direct interventions to those with the largest influence, respectively for medical and environmental management cases.

Conclusion
A BBN framework for water resources development was constructed based on a review of policy documents and context and applied in two cases in Southern Thailand characterised by conflicts over water resources and incomplete data.
In the first case, with bottom-up assessment of water resources planning, the BBN framework was effective in stimulating stakeholders to see the positives and negatives from different options for water resources interventions. Villagers found common ground in selecting variables and completing CPTs. BBNs proved capable of directly and indirectly linking all factors in a way that was easy for them to understand. The villagers could also understand other stakeholders' interests, opening up opportunities to negotiate solutions and sharing of benefits and impacts.
In the top-down case, the potentially affected villagers opposed the dam and did not want to negotiate compensation. Their concerns were mostly about the uncertainty of finding new productive farmland for resettlement. Therefore, higher land compensation could be an option, although higher compensation only provided marginally higher levels of acceptance in the two cases.
Based on the two case studies, we can conclude that to increase the level of acceptance and reduce conflicts, the government should pay more attention to sharing decision power through participation before making decisions; and after making a decision, increase compensation rates, assist in finding good quality farmland, and show more concern for community livelihoods.
This study contributes a method to better understand affected stakeholders' concerns about water development projects and identify ways to take their perspectives into consideration in the planning process to increase their acceptance of the outcomes. By focussing on the affected stakeholders' perspectives, the BBN development process became about giving these stakeholders a voice and getting their perspectives heard.
Policy-makers involved in water resources planning should adopt elicitation methods that allow affected stakeholders to provide their system understanding (such as the BBNs in this study) and use the predicted outcomes of the model to find more acceptable solutions, and/or to better inform communities about planned projects, e.g. through presenting benefits and impacts in a whole system diagram including dynamic relations among them. Moreover, policymakers should apply BBNs in consulting and negotiating over acceptable solutions in early dam planning stages for equitable benefit-sharing.
The BBN framework can be adapted to other cases, and could also be used to integrate the perspectives of different stakeholders. By considering different types of data e.g. quantitative and qualitative data, the models could be further developed and, to some extent, validated. While the current study did not attempt this, the study was instrumental in helping planners to take the emerging sensitivities into account in the decision-making process by putting more effort into the specific issues of conflict. A new insight of this study is that the elicitation of local knowledge and perceptions with specific attention to local stakeholders in conflict situations helped building trust while creating the BBN.